[ubuntu-uk] Edgy problem with / not showing in df or mount
chris procter
chris-procter at talk21.com
Wed Nov 1 21:43:53 GMT 2006
Hi,
Firstly the dmesg command should allow you to see the
boot time messages which might let you see the mount
errors
Secondly mount and df seem to get confused when the
fstab file doesn't tie up with reality
Try:
sudo vol_id -u /dev/hda1
which gives the UUID for your root filesystem device.
If things are set up right it should return:
a3de38df-11f4-4598-bb06-adc801711814
But if not your /etc/fstab file is messed up and you
need to change the:
UUID=a3de38df-11f4-4598-bb06-adc801711814 / ext3
defaults,errors=remount-ro 0 1
line to have UUID=[whatever vol_id returned]
Alternativly change it to:
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
which is less Ubuntu-esque but more unixy and will
work.
chris
--- Dominic Forrest <dominic.forrest at ntlworld.com>
wrote:
---------------------------------
Hi,I upgraded to Edgy a few days back and after a few
"teething problems" thought I was OK - however I've
just noticed that the root file system does not show
up in df or mountdom at tiny:~$ df -hFilesystem
Size Used Avail Use% Mounted onvarrun
1014M 120K 1014M 1% /var/runvarlock
1014M 4.0K 1014M 1% /var/lockprocbususb
10M 156K 9.9M 2% /proc/bus/usbudev
10M 156K 9.9M 2% /devdevshm 1014M
0 1014M 0% /dev/shmlrm 1014M
18M 996M 2%
/lib/modules/2.6.17-10-386/volatile/dev/hdb1
97G 97G 0 100% /mnt/backups/dev/hdb2
88G 66G 18G 80% /var/lib/vmwaredom at tiny:~$
dom at tiny:~$ mountproc on /proc type proc
(rw,noexec,nosuid,nodev)/sys on /sys type sysfs
(rw,noexec,nosuid,nodev)varrun on /var/run type tmpfs
(rw,noexec,nosuid,nodev,mode=0755)varlock on /var/lock
type tmpfs
(rw,noexec,nosuid,nodev,mode=1777)procbususb on
/proc/bus/usb type usbfs (rw)udev on /dev type tmpfs
(rw,mode=0755)devshm on /dev/shm type tmpfs (rw)devpts
on /dev/pts type devpts (rw,gid=5,mode=620)lrm on
/lib/modules/2.6.17-10-386/volatile type tmpfs
(rw)/dev/hdb1 on /mnt/backups type ext3
(ro,errors=remount-ro)/dev/hdb2 on /var/lib/vmware
type ext3 (rw,errors=remount-ro)nfsd on /proc/fs/nfsd
type nfsd (rw)binfmt_misc on /proc/sys/fs/binfmt_misc
type binfmt_misc (rw)dom at tiny:~$ It is in /etc/fstab
and the UUID from vol_id checks out with /etc/fstab.
However if I look at /etc/mtab there is no entry for
/.dom at tiny:~$ cat /etc/fstab# /etc/fstab: static file
system information.## <file system> <mount point>
<type> <options> <dump> <pass>proc
/proc proc defaults 0 0#
/dev/hda1 -- converted during upgrade to
edgyUUID=a3de38df-11f4-4598-bb06-adc801711814 / ext3
defaults,errors=remount-ro 0 1# /dev/hdb1 -- converted
during upgrade to
edgyUUID=ade8e598-2183-4f31-a095-d9130a4950db
/mnt/backups ext3 ro,defaults,errors=remount-ro 0 1#
/dev/hdb2 -- converted during upgrade to
edgyUUID=2f3a65a1-88b1-44f2-b5c4-ce00173b406a
/var/lib/vmware ext3 defaults,errors=remount-ro 0 1#
/dev/hda5 -- converted during upgrade to
edgyUUID=72e6342f-3bc4-4350-9f09-b2fac1aac84d none
swap sw 0 0/dev/hdd /media/cdrom0 udf,iso9660
user,noauto 0 0/dev/hdc /media/cdrom1
udf,iso9660 user,noauto 0 0/dev/fd0
/media/floppy0 auto rw,user,noauto 0
0dom at tiny:~$ cat /etc/mtabproc /proc proc
rw,noexec,nosuid,nodev 0 0/sys /sys sysfs
rw,noexec,nosuid,nodev 0 0varrun /var/run tmpfs
rw,noexec,nosuid,nodev,mode=0755 0 0varlock /var/lock
tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0procbususb
/proc/bus/usb usbfs rw 0 0udev /dev tmpfs rw,mode=0755
0 0devshm /dev/shm tmpfs rw 0 0devpts /dev/pts devpts
rw,gid=5,mode=620 0 0lrm
/lib/modules/2.6.17-10-386/volatile tmpfs rw 0
0/dev/hdb1 /mnt/backups ext3 ro,errors=remount-ro 0
0/dev/hdb2 /var/lib/vmware ext3 rw,errors=remount-ro 0
0nfsd /proc/fs/nfsd nfsd rw 0 0binfmt_misc
/proc/sys/fs/binfmt_misc binfmt_misc rw 0 0dom at tiny:~$
Running sudo mount -av gives me:mount: proc already
mounted on /proc mount:
UUID=ade8e598-2183-4f31-a095-d9130a4950db already
mounted on /mnt/backups mount:
UUID=2f3a65a1-88b1-44f2-b5c4-ce00173b406a already
mounted on /var/lib/vmwareWatching the boot carefully
I see what appears to be the mount help displayed as
if mount has been run with an invalid argument but I
am unable to find this in a log file anywhere to
check.Probably unrelated but I am booting with the
irqpoll option.Any suggestions on how to troubleshoot
this would be appreciated!I've also lodged with as a
support request at
https://launchpad.net/distros/ubuntu/+ticket/2293Dom
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.kubuntu.org/UKTeam/
>
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
More information about the ubuntu-uk
mailing list