Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 23:12:07 +0200, Vincent Zee wrote: >>> How do I add a disk containing data to a new system without erasing >>> that data. >>> >>> I searched the mailinglist and the documentation but could not find >>> information >>> for this scenario. >>> >>> The system in question is running 4.8 >>> The disk is coming from a 5.1 system and uses ufs with softupdates. >>> The disk has one partition. > >> >> Would that be UFS1 with softupdates or UFS2 with softupdates? >> I don't think FreeBSD 4.8 understands UFS2. If you didn't specify UFS1 >> when you made the file system on FreeBSD 5.1, you got UFS2 format. >> >> Otherwise the disk should just move. (The MBR partition/slice table >> and the FreeBSD disk-label/partition-table formats are the same.) >> >> dan I'm very relieved and happy to have my disk back. Changing my system from 4.8 to 5.1 did the trick. Thanks all for your help. /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 14:04:22 -0700 (PDT), Dan Strick wrote: > >> How do I add a disk containing data to a new system without erasing >> that data. >> >> I searched the mailinglist and the documentation but could not find >> information >> for this scenario. >> >> The system in question is running 4.8 >> The disk is coming from a 5.1 system and uses ufs with softupdates. >> The disk has one partition. > > Would that be UFS1 with softupdates or UFS2 with softupdates? > I don't think FreeBSD 4.8 understands UFS2. If you didn't specify UFS1 > when you made the file system on FreeBSD 5.1, you got UFS2 format. > > Otherwise the disk should just move. (The MBR partition/slice table > and the FreeBSD disk-label/partition-table formats are the same.) > > dan Hi Dan, when on 5.1 I used the defaults so that would be UFS2 then. MMmm, ok sounds like a new install of 5.1 I guess (:-)) Thanks Dan and all the others who so kindly helped me!! /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
Vincent Zee <[EMAIL PROTECTED]> writes: > Hello, > > How do I add a disk containing data to a new system without erasing > that data. > > I searched the mailinglist and the documentation but could not find > information > for this scenario. > > The system in question is running 4.8 > The disk is coming from a 5.1 system and uses ufs with softupdates. > The disk has one partition. UFS1 or UFS2? 4.8 won't understand UFS2... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
> How do I add a disk containing data to a new system without erasing > that data. > > I searched the mailinglist and the documentation but could not find > information > for this scenario. > > The system in question is running 4.8 > The disk is coming from a 5.1 system and uses ufs with softupdates. > The disk has one partition. >>> Would that be UFS1 with softupdates or UFS2 with softupdates? I don't think FreeBSD 4.8 understands UFS2. If you didn't specify UFS1 when you made the file system on FreeBSD 5.1, you got UFS2 format. Otherwise the disk should just move. (The MBR partition/slice table and the FreeBSD disk-label/partition-table formats are the same.) dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:42:54 -0400 (EDT), Steve Bertrand wrote: >> 8 partitions: >> #size offsetfstype [fsize bsize bps/cpg] >>c: 2401074270unused0 0# (Cyl.0 - >> 14945*) >>d: 24010742704.2BSD 2048 16384 28552 # (Cyl.0 - >> 14945*) >> super block size 0 > > Ok, try > > # mount /dev/ad5s1d /music2 bluebox# mount /dev/ad5s1d /music2 mount: /dev/ad5s1d on /music2: incorrect super block /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
> 8 partitions: > #size offsetfstype [fsize bsize bps/cpg] > c: 2401074270unused0 0# (Cyl.0 - > 14945*) > d: 24010742704.2BSD 2048 16384 28552 # (Cyl.0 - > 14945*) > super block size 0 Ok, try # mount /dev/ad5s1d /music2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:36:34 -0400 (EDT), Steve Bertrand wrote: >> just the one partition. >> I tried: /dev/ad5 /dev/ad5s1 /dev/ad5s1a with the same response >> "incorrect super block" > > What is the output from: > > # disklabel -r ad5 disklabel -r ad5 # /dev/ad5c: type: ESDI disk: ad5s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 14945 sectors/unit: 240107427 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 2401074270unused0 0# (Cyl.0 - 14945*) d: 24010742704.2BSD 2048 16384 28552 # (Cyl.0 - 14945*) super block size 0 /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
> just the one partition. > I tried: /dev/ad5 /dev/ad5s1 /dev/ad5s1a with the same response > "incorrect super block" What is the output from: # disklabel -r ad5 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
At 03:28 PM 9/12/2003, Vincent Zee wrote: On Fri, 12 Sep 2003 15:19:42 -0400, Veritas wrote: > On Fri, 12 Sep 2003 21:16:45 +0200 > Vincent Zee <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> In the dmesg it comes up as ad5 but when I mount it, it can't find the >> device. >> >> mount ad5 /music2 >> mount: ad5: No such file or directory > > Try it as /dev/ad5 instead. Hi, I tried that and I got the same response. I also made a device entry for it in /dev cd /dev sh MAKEDEV ad5 mount /dev/ad5 /music2 mount: /dev/ad5 on /music2: incorrect super block /\ Vincent You need a slice there. If the system found the disk and booted fine. Look in /dev and see what is listed as ad5? Is there an ad5s1 ad5s2 ad5s3 ad5s4 etc? You will need to mount one of them. ad5 is the disk, you need a slice or partition... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:21:04 -0400 (EDT), Steve Bertrand wrote: >> In the dmesg it comes up as ad5 but when I mount it, it can't find the >> device. >> >> mount ad5 /music2 >> mount: ad5: No such file or directory > > How many partitions were on the old drive? > > You might want to try > > # mount /dev/ad5s1x /music2 > > (where x == a,c,e,f or g, depending on the number of partitions you have > on the disk) > > Steve Hi Steve, just the one partition. I tried: /dev/ad5 /dev/ad5s1 /dev/ad5s1a with the same response "incorrect super block" /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:19:42 -0400, Veritas wrote: > On Fri, 12 Sep 2003 21:16:45 +0200 > Vincent Zee <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> In the dmesg it comes up as ad5 but when I mount it, it can't find the >> device. >> >> mount ad5 /music2 >> mount: ad5: No such file or directory > > Try it as /dev/ad5 instead. Hi, I tried that and I got the same response. I also made a device entry for it in /dev cd /dev sh MAKEDEV ad5 mount /dev/ad5 /music2 mount: /dev/ad5 on /music2: incorrect super block /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
> In the dmesg it comes up as ad5 but when I mount it, it can't find the > device. > > mount ad5 /music2 > mount: ad5: No such file or directory How many partitions were on the old drive? You might want to try # mount /dev/ad5s1x /music2 (where x == a,c,e,f or g, depending on the number of partitions you have on the disk) Steve > > /\ > Vincent > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 21:16:45 +0200 Vincent Zee <[EMAIL PROTECTED]> wrote: > Hi, > > In the dmesg it comes up as ad5 but when I mount it, it can't find the > device. > > mount ad5 /music2 > mount: ad5: No such file or directory Try it as /dev/ad5 instead. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 21:14:46 +0200, Vincent Zee wrote: > On Fri, 12 Sep 2003 15:06:37 -0400, Kliment Andreev wrote: >>> Hello, >>> How do I add a disk containing data to a new system without erasing >>> that data. >> >> Check dmesg output to see the device name. Then try to mount that >> hard disk. >> If everything went fine, you might want to mount that HDD on every boot so >> check >> /etc/fstab. > Hi, In the dmesg it comes up as ad5 but when I mount it, it can't find the device. mount ad5 /music2 mount: ad5: No such file or directory /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
> Hello, > How do I add a disk containing data to a new system without erasing > that data. Check dmesg output to see the device name. Then try to mount that hard disk. If everything went fine, you might want to mount that HDD on every boot so check /etc/fstab. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"