* Tru64 Unix 5.1b-4 moving advfs root to new disk @ 2007-08-19 17:55 Doesnt Compute 2007-08-19 23:17 ` Bob Harris 2007-08-20 13:53 ` nafc 0 siblings, 2 replies; 8+ messages in thread From: Doesnt Compute @ 2007-08-19 17:55 UTC (permalink / raw) Scenario -- ES40, 2 x Adaptec U160 39160, 400GB scsi-to-ide array on one pair of ports (pka/pkc) and brand new 3TB array on the other pair. Moved all data to new array. Went to boot and root won't mount. I disklabeled correctly (disklabel -wr -t advfs /dev/rdisk/dsk4c) and made a domain (root_domain) and fs (root) and have tried copying data various ways. Booting from cdrom will mount the new root as a proper advfs fs. Booting from old root will mount it also. When I boot it directly, it gets to the point of bringing up advfs and doing the root mount and it now says, "corrupted advfs filesystem..." (sorry, only had video console and did not write down everything) and bad BMT block..etc. When you reset the box to get out of this loop, file system is fine (using verify or /sbin/advfs/fixdmn). Anyone seen anything like this? I copied the filesystem various times, trying everything. I tried the vdump ... | vrestore. Problems booting. I tried the vdump > file and then vrestore from file. Problems booting. Robert ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 Unix 5.1b-4 moving advfs root to new disk 2007-08-19 17:55 Tru64 Unix 5.1b-4 moving advfs root to new disk Doesnt Compute @ 2007-08-19 23:17 ` Bob Harris 2007-08-20 13:53 ` nafc 1 sibling, 0 replies; 8+ messages in thread From: Bob Harris @ 2007-08-19 23:17 UTC (permalink / raw) In article <1187546102.551468.197880@q4g2000prc.googlegroups.com>, Doesnt Compute <doesntcompute2k@gmail.com> wrote: > Scenario -- ES40, 2 x Adaptec U160 39160, 400GB scsi-to-ide array on > one pair of ports (pka/pkc) and brand new 3TB array on the other pair. > > Moved all data to new array. Went to boot and root won't mount. > > I disklabeled correctly (disklabel -wr -t advfs /dev/rdisk/dsk4c) and > made a domain (root_domain) and fs (root) and have tried copying data > various ways. Booting from cdrom will mount the new root as a proper > advfs fs. Booting from old root will mount it also. > > When I boot it directly, it gets to the point of bringing up advfs and > doing the root mount and it now says, "corrupted advfs > filesystem..." (sorry, only had video console and did not write down > everything) and bad BMT block..etc. > > When you reset the box to get out of this loop, file system is fine > (using verify or /sbin/advfs/fixdmn). > > Anyone seen anything like this? I copied the filesystem various > times, trying everything. > > I tried the vdump ... | vrestore. Problems booting. > I tried the vdump > file and then vrestore from file. Problems > booting. > > Robert There is a setting for a root domain that makes sure it can ONLY have a single disk in its domain. Did you set this flag when you created the root_domain??? I forget what the flag is called, and I forget the utility that set it. I am fairly sure you can set it after the fact with one of the AdvFS set utilities, I just don't know its name anymore. I also think you can set this flag when creating the root_domain. They say your memory is the 2nd thing to do, can't remember the first :-) Bob Harris ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 Unix 5.1b-4 moving advfs root to new disk 2007-08-19 17:55 Tru64 Unix 5.1b-4 moving advfs root to new disk Doesnt Compute 2007-08-19 23:17 ` Bob Harris @ 2007-08-20 13:53 ` nafc 2007-08-20 21:53 ` Doesnt Compute 1 sibling, 1 reply; 8+ messages in thread From: nafc @ 2007-08-20 13:53 UTC (permalink / raw) On Aug 19, 1:55 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote: > Scenario -- ES40, 2 x Adaptec U160 39160, 400GB scsi-to-ide array on > one pair of ports (pka/pkc) and brand new 3TB array on the other pair. > > Moved all data to new array. Went to boot and root won't mount. > > I disklabeled correctly (disklabel -wr -t advfs /dev/rdisk/dsk4c) and > made a domain (root_domain) and fs (root) and have tried copying data > various ways. Booting from cdrom will mount the new root as a proper > advfs fs. Booting from old root will mount it also. > > When I boot it directly, it gets to the point of bringing up advfs and > doing the root mount and it now says, "corrupted advfs > filesystem..." (sorry, only had video console and did not write down > everything) and bad BMT block..etc. > > When you reset the box to get out of this loop, file system is fine > (using verify or /sbin/advfs/fixdmn). > > Anyone seen anything like this? I copied the filesystem various > times, trying everything. > > I tried the vdump ... | vrestore. Problems booting. > I tried the vdump > file and then vrestore from file. Problems > booting. > > Robert These are the command I use to label the disk and create the root_domain: # disklabel -r dsk0 > /var/disklabel.hld # disklabel -z dsk0 # disklabel -R -r -t advfs dsk0 /var/disklabel.hld xxx # mkfdmn -r /dev/dsk0a root_domain # mkfset root_domain root ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 Unix 5.1b-4 moving advfs root to new disk 2007-08-20 13:53 ` nafc @ 2007-08-20 21:53 ` Doesnt Compute 2007-08-21 9:34 ` Matthew Wild 2007-08-21 16:03 ` nafc 0 siblings, 2 replies; 8+ messages in thread From: Doesnt Compute @ 2007-08-20 21:53 UTC (permalink / raw) On Aug 20, 8:53 am, n...@snet.net wrote: > On Aug 19, 1:55 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote: > > > > > Scenario -- ES40, 2 x Adaptec U160 39160, 400GB scsi-to-ide array on > > one pair of ports (pka/pkc) and brand new 3TB array on the other pair. > > > Moved all data to new array. Went to boot and root won't mount. > > > I disklabeled correctly (disklabel -wr -t advfs /dev/rdisk/dsk4c) and > > made a domain (root_domain) and fs (root) and have tried copying data > > various ways. Booting from cdrom will mount the new root as a proper > > advfs fs. Booting from old root will mount it also. > > > When I boot it directly, it gets to the point of bringing up advfs and > > doing the root mount and it now says, "corrupted advfs > > filesystem..." (sorry, only had video console and did not write down > > everything) and bad BMT block..etc. > > > When you reset the box to get out of this loop, file system is fine > > (using verify or /sbin/advfs/fixdmn). > > > Anyone seen anything like this? I copied the filesystem various > > times, trying everything. > > > I tried the vdump ... | vrestore. Problems booting. > > I tried the vdump > file and then vrestore from file. Problems > > booting. > > > Robert > > These are the command I use to label the disk and create the > root_domain: > > # disklabel -r dsk0 > /var/disklabel.hld > # disklabel -z dsk0 > # disklabel -R -r -t advfs dsk0 /var/disklabel.hld xxx > > # mkfdmn -r /dev/dsk0a root_domain > # mkfset root_domain root Thanks for the help. Yes, I created my root_domain that way; The flag is provided by mkfdmn -r, which says, "hey! this is a root domain!" I did the same as this posting, in that after messing with it so much, I simply did disklabel -z /dev/disk/dsk4c disklabel -rw /dev/disk/dsk4c disklabel -r /dev/disk/dsk4c > /var/dsk4c.label (was doing this from booted Unix cdrom) then the mkfdmn -r /dev/disk/dsk4c root_domain mkfset root_domain root mkdir /var/newroot mount -t advfs root_domain#root /var/newroot mount -t advfs domain_dsk13c#hugevol /var/hugevol cd /var/newroot vrestore -x -f /var/hugevol/oldroot.vdump -D . umount /var/hugevol umount /var/newroot disklabel -r -R -t advfs /dev/disk/dsk4c /var/dsk4c.label (I don't have a drive-type...like rz26, etc) verify or fixfdmn here against root_domain just loves it.... LOL sync;sync;sync halt reboot to the drive and ADVFS errors Can it SIMPLY be that I used dsk4c and NOT 4a? Any help appreciated. System is booted using old root from old RAID, mounting /usr, /var, /opt, /tmp from NEW RAID. Not the best solution. Robert ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 Unix 5.1b-4 moving advfs root to new disk 2007-08-20 21:53 ` Doesnt Compute @ 2007-08-21 9:34 ` Matthew Wild 2007-08-21 12:21 ` Bob Harris 2007-08-21 16:03 ` nafc 1 sibling, 1 reply; 8+ messages in thread From: Matthew Wild @ 2007-08-21 9:34 UTC (permalink / raw) To: Doesnt Compute Doesnt Compute wrote: > On Aug 20, 8:53 am, n...@snet.net wrote: >> On Aug 19, 1:55 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote: >> >> >> >>> Scenario -- ES40, 2 x Adaptec U160 39160, 400GB scsi-to-ide array on >>> one pair of ports (pka/pkc) and brand new 3TB array on the other pair. >>> Moved all data to new array. Went to boot and root won't mount. >>> I disklabeled correctly (disklabel -wr -t advfs /dev/rdisk/dsk4c) and >>> made a domain (root_domain) and fs (root) and have tried copying data >>> various ways. Booting from cdrom will mount the new root as a proper >>> advfs fs. Booting from old root will mount it also. >>> When I boot it directly, it gets to the point of bringing up advfs and >>> doing the root mount and it now says, "corrupted advfs >>> filesystem..." (sorry, only had video console and did not write down >>> everything) and bad BMT block..etc. >>> When you reset the box to get out of this loop, file system is fine >>> (using verify or /sbin/advfs/fixdmn). >>> Anyone seen anything like this? I copied the filesystem various >>> times, trying everything. >>> I tried the vdump ... | vrestore. Problems booting. >>> I tried the vdump > file and then vrestore from file. Problems >>> booting. >>> Robert >> These are the command I use to label the disk and create the >> root_domain: >> >> # disklabel -r dsk0 > /var/disklabel.hld >> # disklabel -z dsk0 >> # disklabel -R -r -t advfs dsk0 /var/disklabel.hld xxx >> >> # mkfdmn -r /dev/dsk0a root_domain >> # mkfset root_domain root > > Thanks for the help. Yes, I created my root_domain that way; The > flag is provided by mkfdmn -r, which says, "hey! this is a root > domain!" > > I did the same as this posting, in that after messing with it so much, > I simply did > > disklabel -z /dev/disk/dsk4c > disklabel -rw /dev/disk/dsk4c > disklabel -r /dev/disk/dsk4c > /var/dsk4c.label > (was doing this from booted Unix cdrom) > > then the > > mkfdmn -r /dev/disk/dsk4c root_domain > mkfset root_domain root > mkdir /var/newroot > mount -t advfs root_domain#root /var/newroot > mount -t advfs domain_dsk13c#hugevol /var/hugevol > cd /var/newroot > vrestore -x -f /var/hugevol/oldroot.vdump -D . > umount /var/hugevol > umount /var/newroot > disklabel -r -R -t advfs /dev/disk/dsk4c /var/dsk4c.label > (I don't have a drive-type...like rz26, etc) > > verify or fixfdmn here against root_domain just loves it.... LOL > > sync;sync;sync > halt > > reboot to the drive and ADVFS errors > > Can it SIMPLY be that I used dsk4c and NOT 4a? > > Any help appreciated. System is booted using old root from old RAID, > mounting /usr, /var, /opt, /tmp from NEW RAID. Not the best solution. > > Robert > I don't know how to diagnose your problems, but when we moved our Tru64 cluster from a RA8000 to MA8000 RAID system, we just used addvol to add the new root/usr/... areas from the MA and then rmvol to remove the old ones form the RA. Do that with all the storage and we only had to drop each server out of the cluster once to reconfigure the bootdef_dev fibre-channel mappings. Matthew ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 Unix 5.1b-4 moving advfs root to new disk 2007-08-21 9:34 ` Matthew Wild @ 2007-08-21 12:21 ` Bob Harris 0 siblings, 0 replies; 8+ messages in thread From: Bob Harris @ 2007-08-21 12:21 UTC (permalink / raw) In article <46CAB1A0.70305@rl.ac.uk>, Matthew Wild <M.Wild@rl.ac.uk> wrote: > Doesnt Compute wrote: > > On Aug 20, 8:53 am, n...@snet.net wrote: > >> On Aug 19, 1:55 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote: > >> > >> > >> > >>> Scenario -- ES40, 2 x Adaptec U160 39160, 400GB scsi-to-ide array on > >>> one pair of ports (pka/pkc) and brand new 3TB array on the other pair. > >>> Moved all data to new array. Went to boot and root won't mount. > >>> I disklabeled correctly (disklabel -wr -t advfs /dev/rdisk/dsk4c) and > >>> made a domain (root_domain) and fs (root) and have tried copying data > >>> various ways. Booting from cdrom will mount the new root as a proper > >>> advfs fs. Booting from old root will mount it also. > >>> When I boot it directly, it gets to the point of bringing up advfs and > >>> doing the root mount and it now says, "corrupted advfs > >>> filesystem..." (sorry, only had video console and did not write down > >>> everything) and bad BMT block..etc. > >>> When you reset the box to get out of this loop, file system is fine > >>> (using verify or /sbin/advfs/fixdmn). > >>> Anyone seen anything like this? I copied the filesystem various > >>> times, trying everything. > >>> I tried the vdump ... | vrestore. Problems booting. > >>> I tried the vdump > file and then vrestore from file. Problems > >>> booting. > >>> Robert > >> These are the command I use to label the disk and create the > >> root_domain: > >> > >> # disklabel -r dsk0 > /var/disklabel.hld > >> # disklabel -z dsk0 > >> # disklabel -R -r -t advfs dsk0 /var/disklabel.hld xxx > >> > >> # mkfdmn -r /dev/dsk0a root_domain > >> # mkfset root_domain root > > > > Thanks for the help. Yes, I created my root_domain that way; The > > flag is provided by mkfdmn -r, which says, "hey! this is a root > > domain!" > > > > I did the same as this posting, in that after messing with it so much, > > I simply did > > > > disklabel -z /dev/disk/dsk4c > > disklabel -rw /dev/disk/dsk4c > > disklabel -r /dev/disk/dsk4c > /var/dsk4c.label > > (was doing this from booted Unix cdrom) > > > > then the > > > > mkfdmn -r /dev/disk/dsk4c root_domain > > mkfset root_domain root > > mkdir /var/newroot > > mount -t advfs root_domain#root /var/newroot > > mount -t advfs domain_dsk13c#hugevol /var/hugevol > > cd /var/newroot > > vrestore -x -f /var/hugevol/oldroot.vdump -D . > > umount /var/hugevol > > umount /var/newroot > > disklabel -r -R -t advfs /dev/disk/dsk4c /var/dsk4c.label > > (I don't have a drive-type...like rz26, etc) > > > > verify or fixfdmn here against root_domain just loves it.... LOL > > > > sync;sync;sync > > halt > > > > reboot to the drive and ADVFS errors > > > > Can it SIMPLY be that I used dsk4c and NOT 4a? > > > > Any help appreciated. System is booted using old root from old RAID, > > mounting /usr, /var, /opt, /tmp from NEW RAID. Not the best solution. > > > > Robert > > > > I don't know how to diagnose your problems, but when we moved our Tru64 > cluster from a RA8000 to MA8000 RAID system, we just used addvol to add > the new root/usr/... areas from the MA and then rmvol to remove the old > ones form the RA. Do that with all the storage and we only had to drop > each server out of the cluster once to reconfigure the bootdef_dev > fibre-channel mappings. > > Matthew Yea, but you can not do that with root, as it is not allowed to have more than one volume. More than one volume became a chicken and the egg problem during boot, especially if the files you needed to boot from were split across multiple volumes. Or worse, the single boot device you get to specify to the firmware did not have the /etc/fdmns directory, or it wasn't where the /dev directory was. Soooo, the AdvFS root volume can ONLY have a single disk. Otherwise addvol/rmvol is wonderful. Bob Harris ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 Unix 5.1b-4 moving advfs root to new disk 2007-08-20 21:53 ` Doesnt Compute 2007-08-21 9:34 ` Matthew Wild @ 2007-08-21 16:03 ` nafc 2007-08-21 17:41 ` Doesnt Compute 1 sibling, 1 reply; 8+ messages in thread From: nafc @ 2007-08-21 16:03 UTC (permalink / raw) On Aug 20, 5:53 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote: > On Aug 20, 8:53 am, n...@snet.net wrote: > > > > > > > On Aug 19, 1:55 pm, Doesnt Compute <doesntcomput...@gmail.com> wrote: > > > > Scenario -- ES40, 2 x Adaptec U160 39160, 400GB scsi-to-ide array on > > > one pair of ports (pka/pkc) and brand new 3TB array on the other pair. > > > > Moved all data to new array. Went to boot and root won't mount. > > > > I disklabeled correctly (disklabel -wr -t advfs /dev/rdisk/dsk4c) and > > > made a domain (root_domain) and fs (root) and have tried copying data > > > various ways. Booting from cdrom will mount the new root as a proper > > > advfs fs. Booting from old root will mount it also. > > > > When I boot it directly, it gets to the point of bringing up advfs and > > > doing the root mount and it now says, "corrupted advfs > > > filesystem..." (sorry, only had video console and did not write down > > > everything) and bad BMT block..etc. > > > > When you reset the box to get out of this loop, file system is fine > > > (using verify or /sbin/advfs/fixdmn). > > > > Anyone seen anything like this? I copied the filesystem various > > > times, trying everything. > > > > I tried the vdump ... | vrestore. Problems booting. > > > I tried the vdump > file and then vrestore from file. Problems > > > booting. > > > > Robert > > > These are the command I use to label the disk and create the > > root_domain: > > > # disklabel -r dsk0 > /var/disklabel.hld > > # disklabel -z dsk0 > > # disklabel -R -r -t advfs dsk0 /var/disklabel.hld xxx > > > # mkfdmn -r /dev/dsk0a root_domain > > # mkfset root_domain root > > Thanks for the help. Yes, I created my root_domain that way; The > flag is provided by mkfdmn -r, which says, "hey! this is a root > domain!" > > I did the same as this posting, in that after messing with it so much, > I simply did > > disklabel -z /dev/disk/dsk4c > disklabel -rw /dev/disk/dsk4c > disklabel -r /dev/disk/dsk4c > /var/dsk4c.label > (was doing this from booted Unix cdrom) > > then the > > mkfdmn -r /dev/disk/dsk4c root_domain > mkfset root_domain root > mkdir /var/newroot > mount -t advfs root_domain#root /var/newroot > mount -t advfs domain_dsk13c#hugevol /var/hugevol > cd /var/newroot > vrestore -x -f /var/hugevol/oldroot.vdump -D . > umount /var/hugevol > umount /var/newroot > disklabel -r -R -t advfs /dev/disk/dsk4c /var/dsk4c.label > (I don't have a drive-type...like rz26, etc) > > verify or fixfdmn here against root_domain just loves it.... LOL > > sync;sync;sync > halt > > reboot to the drive and ADVFS errors > > Can it SIMPLY be that I used dsk4c and NOT 4a? I've never tried setting up root_domain in anything other than the a partition. Could very well be the case. In Tru64 the c partition always has to be the whole disk, when I tried to resize it once (using the GUI) it complained. Maybe there a similar restriction with root_domain and the a partition. At the console level you define boot_dev to be the device name, no partition, so it may assume a partition. Just resize the a paritition to the whole disk 1st. > Any help appreciated. System is booted using old root from old RAID, > mounting /usr, /var, /opt, /tmp from NEW RAID. Not the best solution. > > Robert- Hide quoted text - > > - Show quoted text - ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 Unix 5.1b-4 moving advfs root to new disk 2007-08-21 16:03 ` nafc @ 2007-08-21 17:41 ` Doesnt Compute 0 siblings, 0 replies; 8+ messages in thread From: Doesnt Compute @ 2007-08-21 17:41 UTC (permalink / raw) Well I'm buying this (until it don't work! LOL). Yeah I don't believe addvol/rmvol will do it for the root_domain. I was even wondering if the domain MUST be called root_domain. I had called it domain_root and rootdmn before, but name changed JUST IN CASE. Made sense to use C partition. I'll disklabel then disklabel edit and force A to be volsize, then see what happens. When you specify bootdef_dev as dka0 or dkd3 or whatever, you don't specify a partition because, and this is my ASSUMPTION, the boot loader loads from block 0. So A or C would seem to work. Only does ADVFS mount routine make a fuss. I'll try this Saturday (likely) and repost to this list if it really mattered to use A. We plan on using Tru64 for a long while longer (:P HP-UX) so this needs to work. Film at 11. - robert On Aug 21, 11:03 am, n...@snet.net wrote: > I've never tried setting up root_domain in anything other than the a > partition. Could very well be the case. In Tru64 the c partition > always has to be the whole disk, when I tried to resize it once (using > the GUI) it complained. Maybe there a similar restriction with > root_domain and the a partition. At the console level you define > boot_dev to be the device name, no partition, so it may assume a > partition. > > Just resize the a paritition to the whole disk 1st. > > > Any help appreciated. System is booted using old root from old RAID, > > mounting /usr, /var, /opt, /tmp from NEW RAID. Not the best solution. > > > Robert- Hide quoted text - > > > - Show quoted text - ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-08-21 17:41 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-08-19 17:55 Tru64 Unix 5.1b-4 moving advfs root to new disk Doesnt Compute 2007-08-19 23:17 ` Bob Harris 2007-08-20 13:53 ` nafc 2007-08-20 21:53 ` Doesnt Compute 2007-08-21 9:34 ` Matthew Wild 2007-08-21 12:21 ` Bob Harris 2007-08-21 16:03 ` nafc 2007-08-21 17:41 ` Doesnt Compute
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox