You are not logged in.

#1 2009-02-19 01:57:38

blampars
Member
From: Detroit
Registered: 2009-01-05
Posts: 36

[Solved] Can't write to ext3 external drive partition

Got my new 500gb Calvary external drive today! big_smile

I booted my gparted live cd and formated the drive ext3 and with a small 30gb ntfs partition, the only problem is that while both partitions mount with no problems, I have no write capability to the ext3 partition.  I've checked my permissions and everything is ok there.  Meanwhile, I can read and write to my ntfs partition with no problems at all.

The other thing I noticed that was quite odd was when checking the ext3 partitions properties, it states that 22.0gb is used.  I don't understand that as there is not a single byte of data on the drive yet...

any help and suggestions would be greatly appreciated,
-b

Last edited by blampars (2009-02-19 11:01:33)

Offline

#2 2009-02-19 01:59:13

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [Solved] Can't write to ext3 external drive partition

Odd. Can you write to the ext3 drive as root? Can you post a log of commands you used to make the filesystem, mount it, etc?
And what's the error you get (none?)?

Offline

#3 2009-02-19 02:17:27

blampars
Member
From: Detroit
Registered: 2009-01-05
Posts: 36

Re: [Solved] Can't write to ext3 external drive partition

Ranguvar wrote:

Odd. Can you write to the ext3 drive as root? Can you post a log of commands you used to make the filesystem, mount it, etc?
And what's the error you get (none?)?

Didn't think to try writing to the partition as root.  As it turns out, I can.
Unfortunately I didn't save the log file from gparted live cd when I formated the drive for the ext3 and ntfs partitions.
As normal user, I get the basic:

cp: cannot create regular file `/media/external/.conkyrc': Permission denied

And as far as mounting goes, it's auto mounted at startup with gnome.

-b

Last edited by blampars (2009-02-19 02:18:25)

Offline

#4 2009-02-19 03:35:27

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [Solved] Can't write to ext3 external drive partition

You probably just need to change the permissions on the top level of the ext3 filesystem with an ordinary chown and/or chmod so your regular user can write to it.

Offline

#5 2009-02-19 04:06:53

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [Solved] Can't write to ext3 external drive partition

This may also be if your user is not in the storage group (try this after ataraxia's suggestion, I don't know what the symptoms of not being in the storage group are, it's a guess).

Offline

#6 2009-02-19 11:00:35

blampars
Member
From: Detroit
Registered: 2009-01-05
Posts: 36

Re: [Solved] Can't write to ext3 external drive partition

fixed it with chown smile

any ideas though why a fresh format would state there is 22.0gb in use? I don't understand that at all.
-b

Offline

#7 2009-02-19 16:32:16

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [Solved] Can't write to ext3 external drive partition

22 GB used seems weird to me. Why not just do another mkfs from inside Arch since there's nothing on it yet, and see if it comes out better this time?

Offline

#8 2009-02-19 16:38:08

blampars
Member
From: Detroit
Registered: 2009-01-05
Posts: 36

Re: [Solved] Can't write to ext3 external drive partition

you know I didnt think about using mkfs from arch to be honest.  My first thought has always been the gparted cd i've got.

i'll try that out over the weekend and let you all know how it works out

thanks for the help all, its always greatly appreciated
-b

Offline

#9 2009-02-19 17:41:09

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: [Solved] Can't write to ext3 external drive partition

blampars wrote:

you know I didnt think about using mkfs from arch to be honest.  My first thought has always been the gparted cd i've got.

i'll try that out over the weekend and let you all know how it works out

thanks for the help all, its always greatly appreciated
-b

EXT filesystems preserve 5% for the super user by default . If you're not planning to install an OS in the partition , just set the preserved percentage to zero .

 tune2fs -m 0 /dev/sdaX

English is not my native language .

Offline

#10 2009-02-19 18:36:47

blampars
Member
From: Detroit
Registered: 2009-01-05
Posts: 36

Re: [Solved] Can't write to ext3 external drive partition

EXT filesystems preserve 5% for the super user by default . If you're not planning to install an OS in the partition , just set the preserved percentage to zero .

 tune2fs -m 0 /dev/sdaX

And I learn something more every day, cool.

I assume then that i should run 'tune2fs -m 0 /dev/sdax' after I format the drive?  I'm thinking running this would remove the reservation of 22.0gb I'm seeing after the format, right? Or would I run this first in preparation of formating?

Offline

#11 2009-02-19 23:19:27

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: [Solved] Can't write to ext3 external drive partition

blampars wrote:

I assume then that i should run 'tune2fs -m 0 /dev/sdax' after I format the drive?  I'm thinking running this would remove the reservation of 22.0gb I'm seeing after the format, right? Or would I run this first in preparation of formating?

tune2fs is used with existing ext2/3/4 partitions . You can tune your filesystem without reformat .

Note that some space is reserved for the journal in ext3/4 so there is no way you'll end up with 100% free space .


English is not my native language .

Offline

Board footer

Powered by FluxBB