Had a problem booting from a disk, installed a newly imaged disk, booted fine. I'd like to try to mount the problem disk and using sam I can see the disk fine. However I cannot figure out how to mount the disk and retain the current data. Read Man pages and searched HP's forums found some mount instructions but nothing that directly applied to mounting an old lvm drive. If anyone has any ideas i'd sure appreciate it. Thanks!
Asked
Active
Viewed 2,551 times
2 Answers
3
Turns out the commands I was looking for were vgimport and vgchange. Because I wanted to mount a drive that already had volume group info on it and didn't want that info to be over written.
So the steps ended up being.
- mkdir /somedir
- mknode /somedir/node
- vgimport /somedir /dev/dsk/disk
- vgchange -a y /somedir
- then use SAM to mount the logical volume.
In my case SAM reported a corrupt disk error, so I also ran: - fsck -F vxfs -o full -y /somedir/rlvol#
Then went back to SAM and it mounted fine. Recovered data, felt lucky, had a good day!
Akers
- 151
1
Any case when there might be a HDD problem the best way is to create an image from the broken harddrive with dd and mount that.
Istvan
- 2,640