You are not logged in.

#1 2011-05-10 16:32:02

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Trouble with mounted partitions (root twice)

Since a few days ago, I'm experiencing troubles with my partitions, like / being mounted twice. I'm using systemd instead of Init, mtab is symlinked to /proc/self/mounts

df output:

rootfs                                                  103212320 13629136   84340304  14% /
udev                                                        10240        0      10240   0% /dev
run                                                         10240      344       9896   4% /run
/dev/disk/by-uuid/11331a92-bb2a-4aa2-a376-de9c2d12d6a3  103212320 13629136   84340304  14% /
tmpfs                                                     2011176        0    2011176   0% /dev/shm
tmpfs                                                     2011176      176    2011000   1% /sys/fs/cgroup
tmpfs                                                     2011176        0    2011176   0% /media
run                                                         10240      344       9896   4% /var/lock
run                                                         10240      344       9896   4% /var/run
/dev/sda1                                               369251368 61124056  289370348  18% /media/Akai-Data

As you can see, / is mounted twice.

my /proc/self/mounts looks like this (in fact, is):

http://pastebin.com/bLi22Cps

my partition layout inherit from the time where I had both Windows and Arch Linux installed (so I was low on free primary partitions) is: sda1 350 GB ext4, sda3 8 GB swap, sda4 98 GB ext4. So I have no /home and / in different partitions as sda1 is where I have all my data.

my /etc/fstab:

devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
/dev/sda1 /media/Akai-Data ext4 defaults,realtime,data=writeback 0 2
/dev/sda3 swap swap defaults 0 0
/dev/sda4 / ext4 defaults,user_xattr,realtime,data=writeback 0 1


Also, my /tmp folder has not being cleaned in 5 days. ¿Does it not supposed to be cleaned at every boot/shutdown (I have booted few times in five days)?

So, my troubles here are:

/ is mounted twice, and /tmp is not being cleaned. Any clue on this?

Also, to me, my/proc/self/mounts seems weird, aside from the fact that I think there is why / is mounted twice. Could someone check that?

Thank you in advance.

Last edited by ethail (2011-05-10 16:34:09)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#2 2011-05-10 16:56:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,789

Re: Trouble with mounted partitions (root twice)

I am really puzzled by this :
/dev/disk/by-uuid/11331a92-bb2a-4aa2-a376-de9c2d12d6a3

Nowhere, that I can see, have you specified anything by UUID hmm

Is there a chance that some other script ( /etc/rc.local maybe) is reaching out with an invisible hand is mounting something ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-05-10 17:13:01

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: Trouble with mounted partitions (root twice)

The only place I have found that is on my /boot/burg/burg.cfg file:


linux   /boot/vmlinuz26-pf root=/dev/disk/by-uuid/11331a92-bb2a-4aa2-a376-de9c2d12d6a3 ro fastboot quiet logo.nologo resume=/dev/sda3 init=/sbi/e4rat-preload

But as far as I can remember, that has been always there since I started using burg instead of grub (half of a mont ago, maybe more). And never got troubles with that.

Also, rc.local has everything comented out

EDIT: have I to assume that the burg entry is leading to troubles?

Last edited by ethail (2011-05-10 21:37:04)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#4 2011-05-11 08:23:38

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: Trouble with mounted partitions (root twice)

Ok, so I have changed my burg.cfg entries to root=/dev/sda4.
df still shows / as mounted twice but seems to be "normal" acording to this thread:
https://bbs.archlinux.org/viewtopic.php?id=99417

What still has me worried is the fact that my /tmp folder has not be cleaned since 6 days ago.

Last edited by ethail (2011-05-11 08:41:02)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

Board footer

Powered by FluxBB