1844227 Members
2879 Online
110230 Solutions
New Discussion

Re: Accessing Disk

 
SOLVED
Go to solution
Scott McDade
Frequent Advisor

Accessing Disk

Hello:

I have a C3600 system that has 2 18 gB scsi drives. One with a 10.2 file system and it was built to boot to scsi 6. The second 11i that is also configured to boot to scsi 6. I would like to have the 11i drive be the bootable and I would like to have access to the data files on the 10.2 disk which is in the scsi 5 location. I know that I can't boot to the 10.2 as it was configured as a scsi 6 bootable but is there away to access the data?

If not what are my other options?

Thanks ... Scott

Keep it Simple!~
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: Accessing Disk

Scott,

Vgexport the volume group on the 10.20 disk with the preview option to get a mapfile. Transfer that mapfile somewhere where you can get to it once you've booted off the 11i disk. Then change the scsi ID on the 10.20 disk and boot off the 11i disk. Set up a vg01 (mkdir /dev/vg01, mknod /dev/vg01/group c64 0x010000) and vgimport the 10.20 disk as vg01. Then you can mount the lvols onto your 11i system, perhaps as /oldroot, /oldstand, etc.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Accessing Disk

By the way, that's all off the top of my head with no way to verify, so there may need to be some tuning and tweaking.

Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Accessing Disk

Hi Scott:

If you merely want access to the filesystems which reside on the 10.20 disk, you can 'vgimport' the disk as any volume group of your choice:

# mkdir /dev/vgNN
# mknod /dev/vgNN/group c 64 0x0N0000
# vgimport /dev/vgNN /dev/dsk/cXtYdZ
# vgchange -a y /dev/vgNN

The absence of a mapfile for the 'vgimport' isn't a problem. WIthout one, the logical volume names will default to 'lvol1', 'lvol2', etc. Create mountpoint names as appropriate and access your data.

Regards!

...JRF...
Michael Duthie
Trusted Contributor

Re: Accessing Disk

Scott,

Do I get this right currently you have 2 boot disk one with 10.20 the other with 11i, both at SCSI addr 6. So you physically remove one then boot from the other ?

Are you using LVM?

Why would changing the SCSI addr make it unbootable ?

Scott McDade
Frequent Advisor

Re: Accessing Disk

Mark:

I am not sure...I always thought that if a disk was confiured to boot as scsi 6 it was demmed "unbootable" in any other scsi slot.

Yes I am using LVM.
Keep it Simple!~
Michael Duthie
Trusted Contributor

Re: Accessing Disk

Scott,

Thinking about it, you right there will be a few problems. The device file will change & cause lots of LVM issues.

booting in maintance mode and running lvlnboot -v and a vgscan might work but the problem in you would need to vgimport vg00 and of course you need to deactivate if 1st, but can't cause your booted off it.

Go for the straight, export, change id & import as mentioned above.
Michael Duthie
Trusted Contributor

Re: Accessing Disk

Boot from 10.20 disk

vgexport -v -m vg00.map -p vg00

FTP vg00.map to another system.

change SCSI addr
Boot from 11i disk

Note new device file (ioscan -fnCdisk)

mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000

FTP vg00.map to system

vgimport -v -m vg00.map vg01 /dev/dsk/cXXXX

vgchange -a y vg01

mkdir /mnt

mount /dev/vg01/lvol3 /mnt should mount your 10.20 root on /mnt.

best to print off a bdf of the 10.20 system 1st so you know which lvol is mounted to which filesystem


hope that helps