Mounting a second HD

Aleksandar Simic' alex at
Fri Oct 20 14:28:49 BST 2000


I have a problem mounting a second hard drive containing FreeBSD 4.1
onto a hard drive containing FreeBSD 4.0; and then tar-ing my home
directory from the first drive(FB 4.0), onto the second (FB 4.1).

This is the scenario:

dmesg output:
ad0: 6204MB <ST36531A> [13446/15/63] at ata0-master using UDMA33
ad2: 14324MB <QUANTUM FIREBALLlct15 15> [29104/16/63] at 
ata1-master using UDMA33

mount command:
# mount /dev/ad2 /mnt/d2
mount: Operation not permitted

ls -l /mnt
total 2
drwxr-xr-x  2 root  wheel  512 Oct 20 02:17 d2
drwxr-xr-x  2 root  wheel  512 Oct  5 00:26 zip

Now if I force the mount with:

# mount -f /dev/ad2 /mnt/d2
# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on


/dev/ad2        99183    94824    -3575   104%    /mnt/d2

Now when I cd /mnt/d2/usr/home I can't find my home directory
/mnt/d2/usr/home/alex/ (which does exist), just /mnt/d2/usr/home/ and
no other directories underneath it.

What would you recommend I do in order to tar the contents of my home
directory on the first drive and move it the second one ?

Thank to all in advance.


Balkans, the graveyard of empires.
1st the Ottoman, 2nd the Austro-Hungarian. 3rd the US ?

More information about the Ukfreebsd mailing list