i386/79097: mount new partition maps /
Jose Hidalgo
jose at hostarica.com
Mon Mar 21 10:20:03 PST 2005
>Number: 79097
>Category: i386
>Synopsis: mount new partition maps /
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 21 18:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jose Hidalgo
>Release: 5.4-PRERELEASE
>Organization:
Corp. Hostarica S.A.
>Environment:
FreeBSD jose.hostarica.net 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Mon Mar 21 08:31:58 UTC 2005 root at jose:/usr/obj/usr/src/sys/JOSE i386
>Description:
Having this:
~# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
If a mount a partition of my old disk:
~# mount /dev/ad1s1a /mnt/ad1s1a
It will be a mirror of my / on ad0s1a
~# touch /usr/home/jose/mytestfile
~# ls -li /usr/home/jose/mytestfile /mnt/ad1s1a/home/jose/mytestfile
639918 -rw-r--r-- 1 root jose 0 Mar 21 12:11 /mnt/ad1s1a/home/jose/mytestfile
639918 -rw-r--r-- 1 root jose 0 Mar 21 12:11 /usr/home/jose/mytestfile
With the same inode,
this is a df -hi
~# df -hi /usr /mnt/ad1s1a
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ad0s1f 17G 8.3G 7.1G 54% 615193 1669349 27% /usr
/dev/ad1s1a 124M 46M 68M 40% 1660 14338 10% /mnt/ad1s1a
>How-To-Repeat:
Always happens
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-i386
mailing list