Results 1 to 10 of 14
I have Fedora 10 and to make space for fedora 12 I deleted a partition.
When I rebooted all 20 odd partitions of my two hard drives
were automatically mounted ...
- 02-13-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 8
[SOLVED] all partitions mounted at start up - why (fed 10)
I have Fedora 10 and to make space for fedora 12 I deleted a partition.
When I rebooted all 20 odd partitions of my two hard drives
were automatically mounted even though
only about 3 are listed in fstab.
They are mounted in /media under a directory taken from the label of the
partition or, if without label, as disk-1, disk-2 etc.
What have I changed and how can I unchange it?
Daivid Barnsdale
- 02-14-2010 #2
Hi and Welcome !
Fedora doesn't mount those partitions. Installer has created mount point for each partition and made things a bit easier for users. If you check output of df -h command, it will display partitions that are listed in /etc/fstab file only.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-14-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 8
Yes, it is not normal for Fedora to do a blanket mounting of all partitions in /dev/.
That it should suddenly have started to do this worries me. I would prefer
they weren't mounted but understanding why it should suddenly do this is
my real concern.
When I run df it lists all the 20 hard disk partitions that are on my two
hard disks. Only four are listed in fstab.
None of the partitions listed in fstab have /media mount points.Code:~/crte\>df -h | sort Filesystem Size Used Avail Use% Mounted on /dev/sda10 17G 5,8G 11G 37% /media/disk-7 /dev/sda11 15G 6,0G 8,0G 43% /media/_homeDeb /dev/sda12 12G 3,0G 7,6G 29% /media/disk-3 /dev/sda13 17G 13G 2,9G 82% /media/_1 /dev/sda14 14G 13G 1,1G 93% /media/disk-5 /dev/sda15 14G 6,0G 7,2G 46% /media/joss /dev/sda1 8,8G 3,5G 5,4G 39% /media/disk-2 /dev/sda2 84M 19M 61M 24% /media/_boot1 /dev/sda3 43G 25G 17G 60% /media/_home /dev/sda5 16G 9,7G 4,7G 68% /media/_ /dev/sda7 995M 328M 668M 33% /mnt/fat /dev/sda8 20G 6,2G 13G 33% /media/disk-1 /dev/sda9 13G 7,0G 5,1G 58% /media/disk-4 /dev/sdb1 9,2G 150M 8,6G 2% /media/disk /dev/sdb2 8,3G 928M 7,0G 12% /media/disk-6 /dev/sdb3 9,2G 6,2G 2,6G 71% /media/_12 /dev/sdb5 102G 71G 26G 74% /home /dev/sdb7 13G 3,4G 8,1G 30% /media/_1234 /dev/sdb8 8,5G 6,8G 1,3G 84% / /dev/sdb9 43G 21G 20G 51% /home/newdata tmpfs 505M 5,6M 500M 2% /dev/shm
Thanks for replying, much appreciated.
Daivid
- 02-14-2010 #4
Thats really strange. Post the contents of /etc/fstab and /etc/mtab files here.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-14-2010 #5Just Joined!
- Join Date
- Feb 2010
- Posts
- 8
Here goes:
and mtabCode:]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Jan 16 22:32:57 2009 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info # UUID=d6bd24e6-5959-4690-a4eb-8b894aece8e9 / ext3 defaults 1 1 UUID=442C-5461 /mnt/fat vfat umask=0077,shortname=winnt 0 0 UUID=eb802257-b163-411c-9fb3-a6da0410601e /home ext3 defaults 1 2 UUID=baa90ded-168a-477b-a747-0f2d89b41d6a /home/newdata ext2 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 UUID=7a39aa21-9b5c-4511-b8b4-9cf1faad79e5 swap swap defaults 0 0 /dev/sda6 swap swap defaults 0 0
any light?Code:]# cat /etc/mtab /dev/sdb8 / ext3 rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 /dev/sda7 /mnt/fat vfat rw,umask=0077,shortname=winnt 0 0 /dev/sdb5 /home ext3 rw 0 0 /dev/sdb9 /home/newdata ext2 rw 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 gvfs-fuse-daemon /home/sfrkan/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=sfrkan 0 0 /dev/sda2 /media/_boot1 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda3 /media/_home ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda11 /media/_homeDeb ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sdb1 /media/disk ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda8 /media/disk-1 vfat rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500 0 0 /dev/sda1 /media/disk-2 fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0 /dev/sdb7 /media/_1234 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda12 /media/disk-3 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda9 /media/disk-4 reiserfs rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda5 /media/_ ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda14 /media/disk-5 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sdb2 /media/disk-6 ext2 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda13 /media/_1 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda15 /media/joss ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda10 /media/disk-7 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sdb3 /media/_12 ext3 rw,nosuid,nodev,uhelper=hal 0 0
Daivid
- 02-14-2010 #6
/etc/mtab file is mounting all other partitions. Remove lines for the partitions which you don't want to be mounted at startup.
Code:/dev/sda7 /mnt/fat vfat rw,umask=0077,shortname=winnt 0 0 /dev/sda2 /media/_boot1 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda3 /media/_home ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda11 /media/_homeDeb ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sdb1 /media/disk ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda8 /media/disk-1 vfat rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500 0 0 /dev/sda1 /media/disk-2 fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0 /dev/sdb7 /media/_1234 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda12 /media/disk-3 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda9 /media/disk-4 reiserfs rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda5 /media/_ ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda14 /media/disk-5 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sdb2 /media/disk-6 ext2 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda13 /media/_1 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda15 /media/joss ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda10 /media/disk-7 ext3 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sdb3 /media/_12 ext3 rw,nosuid,nodev,uhelper=hal 0 0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-14-2010 #7Just Joined!
- Join Date
- Feb 2010
- Posts
- 8
I tried deleting all entries for the extra partitions. However, when I rebooted they were all remounted as before.
Isn't the role of mtab to record what is mounted rather than what should be mounted?
I'v tried booting to run level 3 and only the fstab partitions are mounted - so
whatever is causing this occurs in runlevel 5 ie xwindows.
Googling I have seen things which suggest that Hal could be responsible
but I still haven't found enough to tell me how to confirm this.
If the default is for Hal to mount everything and it has to be
told to not mount fixed drives then if deleting the partition broke a link
it would explain what is happening.
Daivid
- 02-14-2010 #8
- 02-14-2010 #9Just Joined!
- Join Date
- Feb 2010
- Posts
- 8
I deleted sdb7 and as a result the root partition changed from sdb9 to sdb8.
This isn't a problem for fstab - it uses uuid but it might have confused other things.
I use gnome. I'm not entirely sure what volume manager settings are but I'm sure I didn't
change them.
Daivid
- 02-15-2010 #10



