From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,2de43b5d1b4287ad X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!x35g2000prf.googlegroups.com!not-for-mail From: nafc@snet.net Newsgroups: comp.unix.tru64 Subject: Re: Tru64 Unix 5.1b-4 moving advfs root to new disk Date: Tue, 21 Aug 2007 09:03:49 -0700 Organization: http://groups.google.com Message-ID: <1187712229.185591.201980@x35g2000prf.googlegroups.com> References: <1187546102.551468.197880@q4g2000prc.googlegroups.com> <1187618008.264465.68150@q4g2000prc.googlegroups.com> <1187646792.317433.247550@q4g2000prc.googlegroups.com> NNTP-Posting-Host: 149.152.14.138 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1187712229 8485 127.0.0.1 (21 Aug 2007 16:03:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Aug 2007 16:03:49 +0000 (UTC) In-Reply-To: <1187646792.317433.247550@q4g2000prc.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: x35g2000prf.googlegroups.com; posting-host=149.152.14.138; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.unix.tru64:56 On Aug 20, 5:53 pm, Doesnt Compute wrote: > On Aug 20, 8:53 am, n...@snet.net wrote: > > > > > > > On Aug 19, 1:55 pm, Doesnt Compute 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 -