Re: Newbie question - cannot add new disk
Thanks for your interest in this. A large part of the problem was in fact a bad cable. I went back and forth between the command line and sysinstall. They seem not to do the same things. It did seem to me that the disklabel in sysinstall and the disklabel command-line tool did not necessarily produce labels that were mutually intelligible. It looks also as if when writing with disklabel in sysinstall, one of the newly created slices has to be highlighted, something not made clear in the Handbook. I ended up making partitions instead of slices, as disklabel did not like what the sysinstall-disklabel produced. Also, the fdisk tool in sysinstall did not always wipe and create new partition entries -- it sometimes just appended new ones, although that is not what it displayed. I needed dd to actually wipe the table and start anew. This seemed to continue despite the new cable. However, I am not exactly a reliable observer, being, as stated, very new to BSD. Oliver On Monday 17 April 2006 09:14, Alex de Kruijff wrote: > On Sun, Apr 16, 2006 at 01:40:09PM -0700, Oliver Iberien wrote: > > Hi, > > > > I have been trying to add a second IDE hard drive. I can't seem to get it > > mounted, or to get what I put into sysinstall and what comes out when I > > use the command line to agree. > > Are you using the command line interface or sysinstall to configure the > disk? This is not clear to me. If you tried sysinstall did it give any > errors about the geometry? What did you do at that point? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question - cannot add new disk
On Sun, Apr 16, 2006 at 01:40:09PM -0700, Oliver Iberien wrote: > Hi, > > I have been trying to add a second IDE hard drive. I can't seem to get it > mounted, or to get what I put into sysinstall and what comes out when I use > the command line to agree. Are you using the command line interface or sysinstall to configure the disk? This is not clear to me. If you tried sysinstall did it give any errors about the geometry? What did you do at that point? -- Alex Please copy the original recipients, otherwise I may not read your reply. Howto's based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie question - cannot add new disk
Hi, I have been trying to add a second IDE hard drive. I can't seem to get it mounted, or to get what I put into sysinstall and what comes out when I use the command line to agree. I can use sysinstall and then run newfs: bsd# newfs /dev/ad1s1c /dev/ad1s1c: 39205.5MB (80292804 sectors) block size 16384, fragment size 2048 using 214 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, [...] 78281376, 78657728, 79034080, 79410432, 79786784, 80163136 So it looks as if there is a slice there using the whole 40G disk, called ad1s1c. But: bsd# disklabel ad1 disklabel: /dev/ad1 read: Input/output error And with the following line in /etc/fstab /dev/ad1s1c /disk2 ufs rw 1 1 bsd# mount -u /dev/ad1s1c /disk2 mount: /dev/ad1s1c on /disk2: specified device does not match mounted device Using the command line utilities: bsd# disklabel -Brw ad1 auto bsd# disklabel -e ad1s1 disklabel: /dev/ad1s1: No such file or directory bsd# disklabel -e ad1c disklabel: /dev/ad1c read: Input/output error bsd# newfs /dev/ad1s1c newfs: /dev/ad1s1c: could not find special device bsd# fdisk -BI ad1 *** Working on device /dev/ad1 *** fdisk: Geom not found And so I go round and round, as at that point I have to use sysinstall again. I tried this with two disks, both of which were good under linux. The 180G Seagate spat out DMA errors at startup, and I got nowhere with it. This one is a 40G Maxtor. I suppose I could change out the cable (I have none handy otherwise I would have) although I can't see why a cable that worked for linux would not work now. Master/slave are set correctly. I could not mount linux partitions, either, despite the recompile -- don't know if that's related. I'd be grateful for any ideas. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"