LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2011, 08:53 PM   #1
Vi3GameHkr
LQ Newbie
 
Registered: Aug 2010
Location: Colorado, USA
Distribution: Slackware 13.1, Ubuntu 10.10
Posts: 26

Rep: Reputation: 7
Slackware/Ubuntu machine /home/_ folder?


I've got a machine running Slackware64 13.1, and Ubuntu 10.10 32-bit, and today, while installing python-ogre in Ubuntu, I was informed that I had run out of hard drive space on my /home partition.

The /home partition is shared between Slack and Ubuntu, and just earlier today, upon booting into Ubuntu, I got a message that the /home partition couldn't be mounted (before most of the system had loaded. It was still on the purple loading screen) Well simply rebooting fixed this. Then today I suddenly ran out of space, and I thought I was only about half way through the allotted space. Well after some investigation I discovered a folder called /home/_ which was an exact duplicate of /home. Well in need of some extra hard drive space, and in conclusion that it was unneeded, I deleted it. And when I deleted it, everything in /home deleted as well.

First off, what is this /home/_ folder? Where could it have come from? The creation time is about 7 minutes after I created a new user on Slackware, and I think it might have been about 7 minutes after creating that user that I had changed its home directory so that Ubuntu's user config files wouldn't conflict with Slackware's.

Secondly, why did /home's contents delete when I removed /home/_? I already figured out there isn't any way of recovering those files (except for the files I luckily synced with Dropbox)

Third, is there some way to prevent this from happening again? Does anyone have any experience with this? Has anyone heard of this happening before? I already know that /home/_ was not a symbolic link.
 
Old 01-08-2011, 10:26 PM   #2
Vi3GameHkr
LQ Newbie
 
Registered: Aug 2010
Location: Colorado, USA
Distribution: Slackware 13.1, Ubuntu 10.10
Posts: 26

Original Poster
Rep: Reputation: 7
While I feel like I just thoroughly screwed up my system, I have succeeded in 1) getting Compiz to work, which was not working for the LIFE of me after so many trips to the IRC channel, a very confusing forum thread and lots of headaches, and 2) finally cleaning out my /home folder

I still have a /home/_ folder though, and it actually ISN'T taking up any extra space (weird?)
 
Old 01-09-2011, 12:33 AM   #3
barriehie
Member
 
Registered: Nov 2010
Distribution: Debian Lenny
Posts: 136
Blog Entries: 1

Rep: Reputation: 23
So when you installed the 2nd linux system you gave it the partition that /home was on via the first install??? I've seen existing mountpoints with an appended underscore. It happens with my /media/backup dir. If the external drive isn't on the backup script will mount /media/backup_ to save the backup to. No solution but I've seen your issues...
 
Old 01-10-2011, 03:40 PM   #4
Vi3GameHkr
LQ Newbie
 
Registered: Aug 2010
Location: Colorado, USA
Distribution: Slackware 13.1, Ubuntu 10.10
Posts: 26

Original Poster
Rep: Reputation: 7
It's not appended, there is a separate folder in /home named _, so in effect I have /home/vi3 and /home/_/vi3 both with the exact same contents. If I delete /home/_/vi3/ then /home/vi3/ is also deleted, and /home/_ doesn't take up any extra space. The real issue is that when I use locate, it finds every file in my /home folder twice, one from /home/vi3 and one from /home/_/vi3
 
Old 01-10-2011, 04:23 PM   #5
Rul
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian
Posts: 10

Rep: Reputation: 1
Hello.

Does this happen both in Ubuntu and Slackware?
 
Old 01-10-2011, 04:43 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello,

I'm dualbooting Slackware64-current, Slackware-13.1 and Gentoo. I'd strongly recommend not to use one and the same /home directory for multiple distributions.

The reason is, that you have different configurationfiles for (often) different program-versions.

My solution is to create a /home partition for every distribution. This partitions have a size of about 8GB. I have a big partition of 60GB which I mount in /usr/local/public for every distribution, here are additional directories for my users (myself )

Here my output of df -h
Code:
Dateisystem           Size  Used Avail Use% Eingehängt auf
/dev/sda5              35G   14G   20G  42% /
udev                   10M  320K  9,7M   4% /dev
/dev/sda13            7,9G  5,4G  2,2G  72% /home
/dev/sda11             50G   19G   28G  41% /usr/local/public
/dev/sda6              35G   13G   21G  38% /usr/local/slackware64
/dev/sda9              35G  9,3G   24G  29% /usr/local/slackware
/dev/sda14             42G   16G   24G  41% /usr/local/vbox
/dev/sda12            9,9G  1,2G  8,2G  13% /usr/local/lfs
shm                   2,0G     0  2,0G   0% /dev/shm
in /usr/local/public I have directories "Documents", "Downloads" for which there are symbolic links in the respective homedirectory.

Markus
 
Old 01-10-2011, 05:11 PM   #7
Rul
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian
Posts: 10

Rep: Reputation: 1
I agree with you, markus, it's a good solution. In fact, I use exactly the same organization. Nevertheless, Vi3GameHkr's problem is far deeper than configuration files overlapping.
Just as Vi3GameHkr, I've got Ubuntu and Slackware on the same box. Not so long ago I've a similar problem with the /home partition. My bet was that Nautilus does not live very well with the /etc/fstab file. My dirty solution was to remove the /home entry from Slackware's /etc/fstab, and let Nautilus do it's magic.
I don't know if my problem was the same than Vi3GameHkr, that's why I insist in knowing if this thing happens both in Ubuntu and Slackware.
 
Old 01-10-2011, 05:20 PM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Well, I'm not an expert for Ubuntu, but I swear that Slackware doesn't do anything which root doesn't want to do. So I think you're right and the conclusion is that one has to search for the problem in Ubuntu.

Markus
 
Old 01-10-2011, 06:59 PM   #9
barriehie
Member
 
Registered: Nov 2010
Distribution: Debian Lenny
Posts: 136
Blog Entries: 1

Rep: Reputation: 23
+1 only because 'buggy' is why I left Ubuntu after a year of use; could've been me or the hardware but Debian hasn't so much as hiccuped running on the same box...

Quote:
Originally Posted by markush View Post
Well, I'm not an expert for Ubuntu, but I swear that Slackware doesn't do anything which root doesn't want to do. So I think you're right and the conclusion is that one has to search for the problem in Ubuntu.

Markus
 
Old 01-11-2011, 02:45 PM   #10
Vi3GameHkr
LQ Newbie
 
Registered: Aug 2010
Location: Colorado, USA
Distribution: Slackware 13.1, Ubuntu 10.10
Posts: 26

Original Poster
Rep: Reputation: 7
Markus, I actually realized within the past month that I will need to change my file system sometime soon. I think that's an excellent scheme. Thanks.

Rul, the /home/_ folder does show up in Slackware, but nothing is in it. I'm building a new system in a couple of months, so I'll live with this for now, although I think I can pretty clearly see that the problem is related to sharing /home with both systems.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm does not open in home folder, instead opens in Documents folder hsiu Linux - Desktop 5 01-16-2011 09:35 AM
want to copy an inode folder from acdrom to a home directory (folder). nhbob Linux - Newbie 8 12-20-2009 12:12 PM
mixed mounting of automount and fstab in one folder? &different home folder using NIS herofmm Linux - Software 0 04-06-2009 12:00 PM
Home folder icon does not open home folder CiscoGeek Linux - Newbie 3 12-18-2006 08:00 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM


All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration