LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-02-2006, 01:02 PM   #1
kellinjar
Member
 
Registered: Mar 2004
Location: South Korea
Posts: 103

Rep: Reputation: 15
Created partition, mounted it, headache


I had 20 gb sitting unclaimed on my drive and had to move some Vmware machines. I used fdisk to make it a partition, rebooted and mounted it. However when copying files to it, it gives me an error about not being able to maintain ownership, then when trying to load the machines in vmware, it gives me a variety of errors claiming it can't create logs, then says it can't lock the file, then fails to start the virtual machine. Anyone know how I can clear this up? I assume its the fact that the partition was mounted as root, but everytime I try to chgrp or chown the directory the partition is mounted to (even when unmounted) it fails.

I've added it to my fstab. Would rebooting and letting the system mount it help?
 
Old 10-02-2006, 02:01 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
What filesystem does it use? I have encountered many of those errors when trying to copy data to a FAT-drive (fat16/32); it doesn't support ownerships so it makes sense. If you created the filesystem as fat, I suggest that if you don't use Windows on it, switch it to something else, like ext2 or ext3 (latter one is journalled).
 
Old 10-02-2006, 03:32 PM   #3
kellinjar
Member
 
Registered: Mar 2004
Location: South Korea
Posts: 103

Original Poster
Rep: Reputation: 15
I used the default in fdisk, just n for a new partition and defaulted to using the remaining space. I meant to make it ext3, so it just shows up as "Linux". I may destroy it and recreate it.
 
Old 10-02-2006, 04:03 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Is the partition type 83 ?

How did you format the partition ?

The following two commands (use either one) make an ext3 file system.
mke2fs -j /dev/hdb1
mkfs.ext3 /dev/hdb1


The only reason I ask is that you stated you creeated a partition and mounted it but never mentioned formatting it. I wasn't sure if we were supposed to assume you formatted it as EXT3 or if you might have fogotten to do that step..
 
Old 10-02-2006, 04:23 PM   #5
kellinjar
Member
 
Registered: Mar 2004
Location: South Korea
Posts: 103

Original Poster
Rep: Reputation: 15
I forgot to do that step, which is likely what caused the issue, I'll recreate the partition as ext3 and hopefully that will clear up the issue.

[edit] that did it. I copied out the virtual machine, formatted it in ext3, and chown and chgrp the files for my account. It seems to work okay now. Thanks guys.

Last edited by kellinjar; 10-02-2006 at 05:06 PM.
 
Old 10-02-2006, 07:26 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Thanks for posting back witth the followup kellinjar
 
Old 10-02-2006, 11:04 PM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Wow glad it was that simple..

I almost didn't post that solution thinking nah he wouldn't forget thaty step would he ? But then again the first rule of troubleshooting is to look at all the obvious stuff first.. (is it plugged in ? Is it turned on ? ) Then move on to the more difficult steps. heh amazing the things we forget when we are in a rush ehh ? Glad you got it all worked out
 
  


Reply

Tags
partitions, permissions, vmware


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a dd created partition? compu73rg33k Linux - Software 2 09-09-2006 09:48 PM
mkudffs-created dvd-ram auto mounted failed shreks Fedora 0 07-09-2006 09:30 PM
Mounted hard drive's files/folders are invisible when created jay_rod101 Linux - Newbie 6 06-16-2006 02:57 AM
SLES 9 did not install to the partition I created reycapoy Linux - Software 2 12-23-2005 02:06 AM
Linux can't see newly created partition Dswissmiss Linux - Software 5 05-17-2004 09:05 AM


All times are GMT -5. The time now is 10:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration