LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-12-2006, 11:16 AM   #1
siepmann
LQ Newbie
 
Registered: Sep 2004
Location: Nottingham, UK
Posts: 28

Rep: Reputation: 15
Home directory on a vfat partition


I just moved my home directory onto my vfat partition.

There are a number of problems.

First, if I try and start a vncserver, I get:

xauth: error in locking authority file /home/siepmann/.Xauthority

Similarly, if I try and move an email to a different folder (postfix/dovecot), I get a server error, and the following appears in /var/log/maillog:

Jan 12 16:49:01 domain imap(siepmann): link(/home/siepmann/Maildir//tmp/1137084541.P5373Q10M561225.domain.com, /home/siepmann/Maildir//new/1137084541.P5373Q10M561225.domain.com:2,S) failed: Operation not permitted

These things didn't happen before which leads me to believe that the problem is something to do with how Linux mounts my vfat partition...

The line in /etc/fstab is:
/dev/hda1 /home/siepmann vfat defaults,uid=500,gid=500

Any ideas?

Many thanks!

--
Peter Siepmann
Nottingham, UK
http://www.petersiepmann.net
 
Old 01-12-2006, 11:42 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,539

Rep: Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676
A FAT32 filesystem can not handle linux file permissions and so it isn't a good idea to use it for /home.
 
Old 01-12-2006, 11:43 AM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
It will not work at all. just to mention some limitations:
VFAT only has support to 8.3 naming convention.
VFAT does not support links (both, symbolic and hard)
VFAT supports only 255 entries by directory.

regards,
 
Old 01-12-2006, 11:51 AM   #4
siepmann
LQ Newbie
 
Registered: Sep 2004
Location: Nottingham, UK
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk
A FAT32 filesystem can not handle linux file permissions and so it isn't a good idea to use it for /home.
I was afraid that would be the answer! Is there any way of converting VFAT to ext3?

Thanks a lot!

Peter
 
Old 01-12-2006, 11:58 AM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
it's called reformat and reinstall.
 
Old 01-12-2006, 12:03 PM   #6
siepmann
LQ Newbie
 
Registered: Sep 2004
Location: Nottingham, UK
Posts: 28

Original Poster
Rep: Reputation: 15
Yup, OK. Thanks!
 
Old 01-12-2006, 01:28 PM   #7
siepmann
LQ Newbie
 
Registered: Sep 2004
Location: Nottingham, UK
Posts: 28

Original Poster
Rep: Reputation: 15
I downsized my VFAT partition with a view to making the free space into a new ext3 partition:

Device Boot Start End Blocks Id System
/dev/hda1 1 5088 40869328+ c W95 FAT32 (LBA)
/dev/hda2 * 9180 9192 104422+ 83 Linux
/dev/hda3 9193 9205 104422+ 83 Linux
/dev/hda4 9206 14593 43279110 5 Extended
/dev/hda5 9206 14593 43279078+ 8e Linux LVM

How can I create a new parition (5089-9179)?

Thanks!

Peter
 
Old 01-12-2006, 01:44 PM   #8
SpiderIRE
Member
 
Registered: Jan 2005
Distribution: FC (Planet CCRMA Kernel)
Posts: 81

Rep: Reputation: 15
Use parted or fdisk or something like that! I prefer parted:

http://www.gnu.org/software/parted/parted.html

I dunno what distro your using cause parted comes with some of them! But look for it/download it and go from there!

-David
 
Old 01-12-2006, 02:09 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,539

Rep: Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676
You can not create an additional primary partition because you already have four.
You can not create a logical partition with that space because it is not in the extended partition. I do not think parted can handle moving the entire extended partition.

Do you need a seperate /home? It might be possible to mount your old home to another mount point and then copy the files back to your /home/user (I assume back to the LVM) with out reinstalling. I can not say what it will take to manually go through all of the files in your home to change the permissions back.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't allow partion permissions for a vfat partition, mounted as my home folder DrD Linux - General 19 07-26-2006 12:26 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
VFat Partition for dv8r Linux - Hardware 1 10-26-2004 07:52 AM
vfat partition mikedeatworld Linux - Hardware 1 10-01-2004 05:20 PM
Seperate /home directory to new partition iotc247 Debian 1 05-31-2004 10:50 AM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration