Hi everyone,
I have a rather trivial concern, but I thought I'd ask the list in the
hopes that it will turn out to be a significant question. I recently
migrated from a ReiserFS-based root filesystem to XFS (now only my Squid
cache is running on ReiserFS). So this is the first time I noticed this
intriguing situation.
Running "mount" returns the contents of /etc/mtab, which supposedly gets
populated when a filesystem is mounted. Notice the results of /dev/sda6:
jijo@gusi:~$ mount
/dev/sda6 on / type xfs
(rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync,logbufs=8,biosize=16,osyncisdsync)
proc on /proc type proc (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda8 on /var type xfs (rw,noatime,nodiratime,logbufs=8,biosize=16)
/dev/sda11 on /home type xfs
(rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync)
/dev/sda10 on /opt/samba type xfs
(rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync)
/dev/sda9 on /var/lib/postgres type xfs
(rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync)
/dev/sda7 on /var/spool/squid type reiserfs (rw,noatime,nodiratime,notail)
Wierd that the options reported are as such. I check my /etc/fstab and,
like the other XFS partitions, /dev/sda6 does not have "double entries".
So I compare it by viewing /proc/mounts, which I'd think should be more
accurate. Here's what I get:
jijo@gusi:~$ cat /proc/mounts
/dev/scsi/host0/bus0/target0/lun0/part6 / xfs rw,noatime,nodiratime 0 0
none /dev devfs rw 0 0
proc /proc proc rw 0 0
/dev/sda1 /boot ext2 rw 0 0
/dev/sda8 /var xfs rw,noatime,nodiratime 0 0
/dev/sda11 /home xfs rw,noatime,nodiratime 0 0
/dev/sda10 /opt/samba xfs rw,noatime,nodiratime 0 0
/dev/sda9 /var/lib/postgres xfs rw,noatime,nodiratime 0 0
/dev/sda7 /var/spool/squid reiserfs rw,noatime,nodiratime 0 0
Now the situations is even wierder: why does /proc/mounts not know about
the other filesystem-specific options? In particular for XFS it doesn't
know about osyncisdsync, logbufs, and biosize. For ReiserFS it doesn't
know notail.
I haven't ever dug into the XFS or the Linux kernel code, so I don't know
if this is really how /proc/mounts is supposed to look. Hmm ... ?
<puzzled>
--> Jijo
--
Federico Sevilla III :: jijo@xxxxxxxxxxxxxxxxxxxx
Network Administrator :: The Leather Collection, Inc.
|