Thatsmanjear
Member
- Joined
- May 9, 2023
- Messages
- 18
Hi. I have a mint IBM RS/6000 7012-320 that I have enjoyed using to recreate some software I wrote WAY back in 1990 in college. The HW and OS are all configured perfectly, so I want to be protected with a good backup so if/when the SCSI drives die I can continue on with a ZuluSCSI or SCSI2SD. I could use some advice. The machine is in a standard configuration that IBM sold back in 1990, it has one 400MB SCSI disk (SCSI ID 0), and a 320MB SCSI disk (SCSI ID 1). These two physical drives are combined to make a ~700MB root volume group (rootvg). Currently my setup uses about 500MB of storage, including paging file so it spans both of these disks. What I could use is some advice on a strategy for how to make simple backup of this rootvg so that it is easy to restore if one of these 33 year old SCSI drives dies. I use ZuluSCSI for a lot of my other vintage projects that require a SCSI drive, so ideally I'd like to just make a .img of the rootvg that I can then put on my ZuluSCSI and boot.
While I would prefer to just collapse the rootvg into one physical volume of a larger size, what I instead tried first was to just boot the system into maintenance mode from the AIX 3.2.5 installation CD, then make images of the two disks on an NFS drive, e.g.,
dd if=/dev/hdisk0 of=/nfs/backups/torreys/hdisk0.img bs=512K conv=noerror,sync
dd if=/dev/hdisk1 of=/nfs/backups/torreys/hdisk1.img bs=512K conv=noerror,sync
I then disconnected the physical SCSI drives, attached my ZuluSCSI with hdisk0, and hdisk1 images (renamed to HD0.img and HD1.img) and attempted to boot (key in service mode). After normal POST the system started to boot from the ZuluSCSI but then it sits a while on LED code 551 "IPL vary-on in running" then eventually stopping on LED code 552 "IPL vary-on failed".
So I then booted again from the maintenance CD and tried to import the root file system from the ZuluSCSI clones images and it shed some light on why the vary-on failed during boot:
# getrootfs
usage: /usr/sbin/getrootfs [-f] diskname
-f disregard status of hd5
Available disks: location:
hdisk0 00-01-00-00
# getrootfs hdisk0 sh
Importing Volume Group ...
PV Status: hdisk0 000005060b0b6196 PVMISSING
hdisk1 000000032641d6ba PVACTIVE
0516-052 varyonvg: Volume group cannot be varied on without a
quorum. More physical volumes in the group must be active.
Run diagnostics on inactive PVs.
0516-780 importvg: Unable to import volume group from hdisk0.
So it shows that hdisk0 is available at SCSI ID 0, but then when trying to import it says hdisk0 physical volume is "PVMISSING".
Question 1: Any ideas as to why this simply hdisk0 and hdisk1 clone strategy didn't work?
Question 2: Any better suggestions on what I'm trying to accomplish? Again, goal is to be able to do backups easily (like every week or so just make new images), so if/when physical drives die I have a somewhat recent clone.
I'd really like to just have one physical volume, say, 1GB, merge the two current PVs onto the single PV, and clone the single PV so I can just boot off my ZuluSCSI.
While I would prefer to just collapse the rootvg into one physical volume of a larger size, what I instead tried first was to just boot the system into maintenance mode from the AIX 3.2.5 installation CD, then make images of the two disks on an NFS drive, e.g.,
dd if=/dev/hdisk0 of=/nfs/backups/torreys/hdisk0.img bs=512K conv=noerror,sync
dd if=/dev/hdisk1 of=/nfs/backups/torreys/hdisk1.img bs=512K conv=noerror,sync
I then disconnected the physical SCSI drives, attached my ZuluSCSI with hdisk0, and hdisk1 images (renamed to HD0.img and HD1.img) and attempted to boot (key in service mode). After normal POST the system started to boot from the ZuluSCSI but then it sits a while on LED code 551 "IPL vary-on in running" then eventually stopping on LED code 552 "IPL vary-on failed".
So I then booted again from the maintenance CD and tried to import the root file system from the ZuluSCSI clones images and it shed some light on why the vary-on failed during boot:
# getrootfs
usage: /usr/sbin/getrootfs [-f] diskname
-f disregard status of hd5
Available disks: location:
hdisk0 00-01-00-00
# getrootfs hdisk0 sh
Importing Volume Group ...
PV Status: hdisk0 000005060b0b6196 PVMISSING
hdisk1 000000032641d6ba PVACTIVE
0516-052 varyonvg: Volume group cannot be varied on without a
quorum. More physical volumes in the group must be active.
Run diagnostics on inactive PVs.
0516-780 importvg: Unable to import volume group from hdisk0.
So it shows that hdisk0 is available at SCSI ID 0, but then when trying to import it says hdisk0 physical volume is "PVMISSING".
Question 1: Any ideas as to why this simply hdisk0 and hdisk1 clone strategy didn't work?
Question 2: Any better suggestions on what I'm trying to accomplish? Again, goal is to be able to do backups easily (like every week or so just make new images), so if/when physical drives die I have a somewhat recent clone.
I'd really like to just have one physical volume, say, 1GB, merge the two current PVs onto the single PV, and clone the single PV so I can just boot off my ZuluSCSI.