Re: Disklabel problem IBM SCSI3 disks, vinum too
Date sent: Mon, 24 Nov 2003 09:16:49 +1030 From: "Greg 'groggy' Lehey" <[EMAIL PROTECTED]> To: "Bob Collins" <[EMAIL PROTECTED]> Organization: The FreeBSD Project Copies to: FreeBSD <[EMAIL PROTECTED]> Subject: Re: Disklabel problem IBM SCSI3 disks, vinum too [Format recovered--see http://www.lemis.com/email/email-format.html] Single-line paragraphs. On Sunday, 23 November 2003 at 13:03:47 -0500, Bob Collins wrote: > At 07:30 PM 11/21/2003, you wrote: >> On Friday, 21 November 2003 at 9:25:58 -0500, Bob Collins wrote: >>> vinum -> list >>> 4 drives: >>> D d State: up Device /dev/da1s1h Avail: 0/8747 MB >>> (0%) >>> D c State: up Device /dev/da2s1h Avail: 0/8747 MB >>> (0%) >>> D b State: up Device /dev/da3s1h Avail: 0/8747 MB >>> (0%) >>> D a State: up Device /dev/da4s1h Avail: 0/8747 MB >>> (0%) >>> >>> 1 volumes: >>> V raid State: down Plexes: 1 Size: 25 GB >>> >>> 1 plexes: >>> P raid.p0R5 State: init Subdisks: 4 Size: 25 GB >>> >>> 4 subdisks: >>> S raid.p0.s0State: emptyPO:0 B Size: 8747 MB >>> S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB >>> S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB >>> S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB >> >> This doesn't agree with what you say above. It also looks fine to >> me. > > My apologies, Greg. Quite right. I was messing with the system right > before the response about sa4 device nodes in /dev. Once I made the > da4 devices, then the disklabel worked. My mistake jumping the gun. > > One follow-up question if I may. > > I assume that the init process for a RAID5 takes quite some time, > no? This has been in the init stage for 3 days. The vinum daemon is > running as I can see it listed in ps -ax. This is the init state, which means it needs initializing. To initialize, issue the 'init' command. The state will change from 'init' to 'initializing', and the list command shows the progress of the initialization. This writes zeroes to the drives in parallel; expect it to take an hour or two on drives of this size. Greg -- Thanks Greg, that did the trick. The initialization only took 19 minutes. The newfs took about 5 minutes, and it is now running perfectly. Thank you again. Bob -- Bob Collins Anything-inc.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disklabel problem IBM SCSI3 disks, vinum too
[Format recovered--see http://www.lemis.com/email/email-format.html] Single-line paragraphs. On Sunday, 23 November 2003 at 13:03:47 -0500, Bob Collins wrote: > At 07:30 PM 11/21/2003, you wrote: >> On Friday, 21 November 2003 at 9:25:58 -0500, Bob Collins wrote: >>> vinum -> list >>> 4 drives: >>> D d State: up Device /dev/da1s1h Avail: 0/8747 MB >>> (0%) >>> D c State: up Device /dev/da2s1h Avail: 0/8747 MB >>> (0%) >>> D b State: up Device /dev/da3s1h Avail: 0/8747 MB >>> (0%) >>> D a State: up Device /dev/da4s1h Avail: 0/8747 MB >>> (0%) >>> >>> 1 volumes: >>> V raid State: down Plexes: 1 Size: 25 GB >>> >>> 1 plexes: >>> P raid.p0R5 State: init Subdisks: 4 Size: 25 GB >>> >>> 4 subdisks: >>> S raid.p0.s0State: emptyPO:0 B Size: 8747 MB >>> S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB >>> S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB >>> S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB >> >> This doesn't agree with what you say above. It also looks fine to >> me. > > My apologies, Greg. Quite right. I was messing with the system right > before the response about sa4 device nodes in /dev. Once I made the > da4 devices, then the disklabel worked. My mistake jumping the gun. > > One follow-up question if I may. > > I assume that the init process for a RAID5 takes quite some time, > no? This has been in the init stage for 3 days. The vinum daemon is > running as I can see it listed in ps -ax. This is the init state, which means it needs initializing. To initialize, issue the 'init' command. The state will change from 'init' to 'initializing', and the list command shows the progress of the initialization. This writes zeroes to the drives in parallel; expect it to take an hour or two on drives of this size. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: Disklabel problem IBM SCSI3 disks, vinum too
At 07:30 PM 11/21/2003, you wrote: >[Format recovered--see http://www.lemis.com/email/email-format.html] > >Quotation broken. > >On Friday, 21 November 2003 at 9:25:58 -0500, Bob Collins wrote: >> At 08:41 PM 11/19/2003, Greg 'groggy' Lehey wrote: >>> [Format recovered--see http://www.lemis.com/email/email-format.html] >>> >>> Quotation broken. >>> >>> On Wednesday, 19 November 2003 at 9:13:43 -0500, Bob Collins wrote: At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote: > > Do you have device nodes for da4? Has it been labelled at all? I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4 in the /dev directory. After that, there were what appeared to be all the device nodes for da4. I was able to label the drive and use it with vinum under 5.0-RELEASE FWIW. Under 4.9-RELEASE (which is what I now run) it will not label through /stand/sysinstall. I can now newfs the drive and mount it and copy files to and fro, however I cannot use it with vinum. I did umount the drive and then disklabel -e da4 and changed the e: to h: and the filesystem type to vinum. It was da4s1e. When I create the vinum configuration, I either get that drive d (da4s1h) is referenced and in the down state while the other three drives are up, or the other three drives a b c are referenced and in the down state while drive d is up. >>> >>> I need the information I ask for in >>> http://www.vinumvm.org/vinum/how-to-debug.html. >> >> FreeBSD 4.9 RELEASE >> >> No changes to sources >> >> vinum -> list >> 4 drives: >> D d State: up Device /dev/da1s1h Avail: 0/8747 MB >> (0%) >> D c State: up Device /dev/da2s1h Avail: 0/8747 MB >> (0%) >> D b State: up Device /dev/da3s1h Avail: 0/8747 MB >> (0%) >> D a State: up Device /dev/da4s1h Avail: 0/8747 MB >> (0%) >> >> 1 volumes: >> V raid State: down Plexes: 1 Size: 25 GB >> >> 1 plexes: >> P raid.p0R5 State: init Subdisks: 4 Size: 25 GB >> >> 4 subdisks: >> S raid.p0.s0State: emptyPO:0 B Size: 8747 MB >> S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB >> S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB >> S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB > >This doesn't agree with what you say above. It also looks fine to >me. > >Greg >-- My apologies, Greg. Quite right. I was messing with the system right before the response about sa4 device nodes in /dev. Once I made the da4 devices, then the disklabel worked. My mistake jumping the gun. One follow-up question if I may. I assume that the init process for a RAID5 takes quite some time, no? This has been in the init stage for 3 days. The vinum daemon is running as I can see it listed in ps -ax. Thank you Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disklabel problem IBM SCSI3 disks, vinum too
[Format recovered--see http://www.lemis.com/email/email-format.html] Quotation broken. On Friday, 21 November 2003 at 9:25:58 -0500, Bob Collins wrote: > At 08:41 PM 11/19/2003, Greg 'groggy' Lehey wrote: >> [Format recovered--see http://www.lemis.com/email/email-format.html] >> >> Quotation broken. >> >> On Wednesday, 19 November 2003 at 9:13:43 -0500, Bob Collins wrote: >>> At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote: Do you have device nodes for da4? Has it been labelled at all? >>> >>> I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4 >>> in the /dev directory. After that, there were what appeared to be all the >>> device nodes for da4. >>> >>> I was able to label the drive and use it with vinum under >>> 5.0-RELEASE FWIW. Under 4.9-RELEASE (which is what I now run) it >>> will not label through /stand/sysinstall. >>> >>> I can now newfs the drive and mount it and copy files to and fro, >>> however I cannot use it with vinum. I did umount the drive and >>> then disklabel -e da4 and changed the e: to h: and the filesystem >>> type to vinum. It was da4s1e. >>> >>> When I create the vinum configuration, I either get that drive d >>> (da4s1h) is referenced and in the down state while the other three >>> drives are up, or the other three drives a b c are referenced and >>> in the down state while drive d is up. >> >> I need the information I ask for in >> http://www.vinumvm.org/vinum/how-to-debug.html. > > FreeBSD 4.9 RELEASE > > No changes to sources > > vinum -> list > 4 drives: > D d State: up Device /dev/da1s1h Avail: 0/8747 MB (0%) > D c State: up Device /dev/da2s1h Avail: 0/8747 MB (0%) > D b State: up Device /dev/da3s1h Avail: 0/8747 MB (0%) > D a State: up Device /dev/da4s1h Avail: 0/8747 MB (0%) > > 1 volumes: > V raid State: down Plexes: 1 Size: 25 GB > > 1 plexes: > P raid.p0R5 State: init Subdisks: 4 Size: 25 GB > > 4 subdisks: > S raid.p0.s0State: emptyPO:0 B Size: 8747 MB > S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB > S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB > S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB This doesn't agree with what you say above. It also looks fine to me. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: Disklabel problem IBM SCSI3 disks, vinum too
At 08:41 PM 11/19/2003, Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Quotation broken. On Wednesday, 19 November 2003 at 9:13:43 -0500, Bob Collins wrote: > At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote: >> >> Do you have device nodes for da4? Has it been labelled at all? > > I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4 > in the /dev directory. After that, there were what appeared to be all the > device nodes for da4. > > I was able to label the drive and use it with vinum under 5.0-RELEASE FWIW. > Under 4.9-RELEASE (which is what I now run) it will not label through > /stand/sysinstall. > > I can now newfs the drive and mount it and copy files to and fro, however I > cannot use it with vinum. I did umount the drive and then disklabel -e da4 > and changed the e: to h: and the filesystem type to vinum. It was da4s1e. > > When I create the vinum configuration, I either get that drive d (da4s1h) > is referenced and in the down state while the other three drives are up, or > the other three drives a b c are referenced and in the down state while > drive d is up. I need the information I ask for in http://www.vinumvm.org/vinum/how-to-debug.html. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. FreeBSD 4.9 RELEASE No changes to sources vinum -> list 4 drives: D d State: up Device /dev/da1s1h Avail: 0/8747 MB (0%) D c State: up Device /dev/da2s1h Avail: 0/8747 MB (0%) D b State: up Device /dev/da3s1h Avail: 0/8747 MB (0%) D a State: up Device /dev/da4s1h Avail: 0/8747 MB (0%) 1 volumes: V raid State: down Plexes: 1 Size: 25 GB 1 plexes: P raid.p0R5 State: init Subdisks: 4 Size: 25 GB 4 subdisks: S raid.p0.s0State: emptyPO:0 B Size: 8747 MB S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB 18 Nov 2003 21:03:29.947426 *** vinum started *** 18 Nov 2003 21:03:29.948250 *** Created devices *** 18 Nov 2003 21:03:30.242946 create -f /etc/vinum.conf # Vinum configuration of freebie, Wed Nov 13 drive /dev/a device /dev/da1s1h drive /dev/b device /dev/da2s1h drive /dev/c device /dev/da3s1h drive /dev/d device /dev/da4s1h volume raid plex org raid5 512k sd len 8747m drive /dev/a sd len 8747m drive /dev/b sd len 8747m drive /dev/c sd len 8747m drive /dev/d 18 Nov 2003 21:03:30.407281 *** Created devices *** 18 Nov 2003 21:03:29.948250 *** Created devices *** Nov 18 21:03:24 freebie /kernel: vinum: loaded Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/a is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/b is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/c is up Nov 18 21:03:30 freebie /kernel: vinum: raid.p0.s3 is crashed Nov 18 21:03:30 freebie /kernel: vinum: raid.p0 is initializing Nov 18 21:03:24 freebie /kernel: vinum: loaded Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/a is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/b is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/c is up Nov 18 21:03:30 freebie /kernel: vinum: raid.p0.s3 is crashed Nov 18 21:03:30 freebie /kernel: vinum: raid.p0 is initializing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disklabel problem IBM SCSI3 disks, vinum too
[Format recovered--see http://www.lemis.com/email/email-format.html] Quotation broken. On Wednesday, 19 November 2003 at 9:13:43 -0500, Bob Collins wrote: > At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote: >> >> Do you have device nodes for da4? Has it been labelled at all? > > I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4 > in the /dev directory. After that, there were what appeared to be all the > device nodes for da4. > > I was able to label the drive and use it with vinum under 5.0-RELEASE FWIW. > Under 4.9-RELEASE (which is what I now run) it will not label through > /stand/sysinstall. > > I can now newfs the drive and mount it and copy files to and fro, however I > cannot use it with vinum. I did umount the drive and then disklabel -e da4 > and changed the e: to h: and the filesystem type to vinum. It was da4s1e. > > When I create the vinum configuration, I either get that drive d (da4s1h) > is referenced and in the down state while the other three drives are up, or > the other three drives a b c are referenced and in the down state while > drive d is up. I need the information I ask for in http://www.vinumvm.org/vinum/how-to-debug.html. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: Disklabel problem IBM SCSI3 disks, vinum too
At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote: On Friday, 14 November 2003 at 11:50:09 -0500, Bob Collins wrote: > Running FBSD 4.9 on an Intel SMP mobo w/ 2 Intel PII 350s. Onboard SCSI is > recognized and sees all my drives. One SCSI 3 drive is 4.5G for the OS and > /usr. I have 4 identical IBM SCSI3 disks 9G each, however one of those 4 > will not disklabel. The other three will. This leads to troubles then, > obviously, to setting the 4 drives for vinum use. Was using these 4 drives > on 5.0-RELEASE with vinum previously no troublesdowngraded for some > backup software (bacula) compatibility reasons. > > In dmesg, da1, da2, da3, da4 all show as identical drives, model number, > capacity, etc. I have not removed the drive to see if there is a special > jumper to protect such things, I shall do this later today. > > When I try to `disklabel -e da4', I get the info open, I can change > whatever I like, then when I save the file it complains; that the device > does not support this feature. The other 3 drives all did `disklabel -e > dax' with no trouble. Do you have device nodes for da4? Has it been labelled at all? Greg -- I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4 in the /dev directory. After that, there were what appeared to be all the device nodes for da4. I was able to label the drive and use it with vinum under 5.0-RELEASE FWIW. Under 4.9-RELEASE (which is what I now run) it will not label through /stand/sysinstall. I can now newfs the drive and mount it and copy files to and fro, however I cannot use it with vinum. I did umount the drive and then disklabel -e da4 and changed the e: to h: and the filesystem type to vinum. It was da4s1e. When I create the vinum configuration, I either get that drive d (da4s1h) is referenced and in the down state while the other three drives are up, or the other three drives a b c are referenced and in the down state while drive d is up. Thank you. Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disklabel problem IBM SCSI3 disks, vinum too
On Friday, 14 November 2003 at 11:50:09 -0500, Bob Collins wrote: > Running FBSD 4.9 on an Intel SMP mobo w/ 2 Intel PII 350s. Onboard SCSI is > recognized and sees all my drives. One SCSI 3 drive is 4.5G for the OS and > /usr. I have 4 identical IBM SCSI3 disks 9G each, however one of those 4 > will not disklabel. The other three will. This leads to troubles then, > obviously, to setting the 4 drives for vinum use. Was using these 4 drives > on 5.0-RELEASE with vinum previously no troublesdowngraded for some > backup software (bacula) compatibility reasons. > > In dmesg, da1, da2, da3, da4 all show as identical drives, model number, > capacity, etc. I have not removed the drive to see if there is a special > jumper to protect such things, I shall do this later today. > > When I try to `disklabel -e da4', I get the info open, I can change > whatever I like, then when I save the file it complains; that the device > does not support this feature. The other 3 drives all did `disklabel -e > dax' with no trouble. Do you have device nodes for da4? Has it been labelled at all? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Disklabel problem IBM SCSI3 disks, vinum too
Running FBSD 4.9 on an Intel SMP mobo w/ 2 Intel PII 350s. Onboard SCSI is recognized and sees all my drives. One SCSI 3 drive is 4.5G for the OS and /usr. I have 4 identical IBM SCSI3 disks 9G each, however one of those 4 will not disklabel. The other three will. This leads to troubles then, obviously, to setting the 4 drives for vinum use. Was using these 4 drives on 5.0-RELEASE with vinum previously no troublesdowngraded for some backup software (bacula) compatibility reasons. In dmesg, da1, da2, da3, da4 all show as identical drives, model number, capacity, etc. I have not removed the drive to see if there is a special jumper to protect such things, I shall do this later today. When I try to `disklabel -e da4', I get the info open, I can change whatever I like, then when I save the file it complains; that the device does not support this feature. The other 3 drives all did `disklabel -e dax' with no trouble. One note, when I `disklabel -e da4' (the drive in question) it has Name: "DNES something" and for Label: "IBM"? The other 3 did not have this. TIA Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"