Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 18:15:38 GMT
From:      Jose Hidalgo <jose@hostarica.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/79097: mount new partition maps /
Message-ID:  <200503211815.j2LIFcpD059511@www.freebsd.org>
Resent-Message-ID: <200503211820.j2LIK2dh014070@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503211815.j2LIFcpD059511>