Disk Label Problem
I have a system with two SCSI disks. da1 has a complete working system on it that I need to clone onto da0. The disks are different sizes. So I went to sysinstall and used 'disk label' to create the desired structure. Thats where the problems started. If I create the first partition and set the mount point to / and the second as a swap partition and the third to mount at /usr then when writing the changes there are a number of errors generated because it can't mount to those points - they are in use. So then I tried to use 'disk label' and create the structure using /mnt and /mnt1 (which do exist). That worked fine and did the newfs. However, it created partitions d and e rather than a and d. So I went back and reestablished the structure using / and /usr to set the partitions to a and d and then went back and changed the mount points to /mnt and /mnt1 before the write. However, this generated an error that it couldn't write label. Obviously I am doing something wrong since I have don this using sysinstall and completing the system installation from CD. However, in this case the machine is a long way away and the CD drive is empty. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Disk label problem
Hi! Few days ago some annoying things happened. At first I had FreeBSD 7 box with one disk(SATA). When i added another dish (SATA) my box stuck when booting up. Somethink like this comes up: Mountroot> And i need manualy mount disk because disk label has beed changed and then edit fstab file. Now i'd like to know if is possible to "lock" existing hard disk label to prevent this in the future if i add another harddrive ? Best Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Disk Label Problem
> > I have a system with two SCSI disks. da1 has a complete working system > on it that I need to clone onto da0. The disks are different sizes. > So I went to sysinstall and used 'disk label' to create the desired > structure. Thats where the problems started. If I create the first > partition and set the mount point to / and the second as a swap > partition and the third to mount at /usr then when writing the changes > there are a number of errors generated because it can't mount to those > points - they are in use. So then I tried to use 'disk label' and > create the structure using /mnt and /mnt1 (which do exist). That > worked fine and did the newfs. However, it created partitions d and e > rather than a and d. So I went back and reestablished the structure > using / and /usr to set the partitions to a and d and then went back > and changed the mount points to /mnt and /mnt1 before the write. > However, this generated an error that it couldn't write label. > > Obviously I am doing something wrong since I have don this using > sysinstall and completing the system installation from CD. However, in > this case the machine is a long way away and the CD drive is empty. The only thing you were doing wrong was using mount points that were already in use. It doesn't really matter if the partition label is d or e or whatever. You might want to make sure it uses a for root. and b for swap because some things make that assumption. But, if you use disklabel (or bsdlabel in 5.xxx) in edit mode you can specify which letter label to use for each partition. You don't need to (can't) specify a mount point in disklabel. You fix that up later by editing /etc/fstab. jerry > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Disk Label Problem
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Doug Hardie > Sent: Wednesday, February 02, 2005 6:33 PM > To: f-questions List > Subject: Disk Label Problem > > > I have a system with two SCSI disks. da1 has a complete > working system > on it that I need to clone onto da0. Quit screwing around with sysinstall and use dd, if da0 is larger than da1 you will have no problem (of course you will lose the extra space on da0 but you did say you want to clone them. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"