You are not logged in.

#1 2011-10-25 19:00:51

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

[SOLVED] I haven't free space for user

Hello, I have a trivial error. But I saw more forum with google, but that never finished.
Maybe you can easily.
So I have an external partition with ext3 I want mount for if I'm user, I can rw that. How can I do?
Do you?

Last edited by gyurman (2011-10-26 19:59:34)

Offline

#2 2011-10-25 19:05:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] I haven't free space for user

How do you mount it - with 'mount' or with thunar or ...? The wiki should help.

Offline

#3 2011-10-25 19:37:55

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

Maybe one

sudo mount -t ext3 -o rw,user,noauto /dev/sdb6 /media/linux
drwxrwxrwx 21 root root 4096 okt   25 19.43 /media/linux/
df -h
/dev/sdb6                                               131G  125G     0 100% /media/linux
  • mc
    read only

  • sudo mc
    rw mode

Why?

Last edited by gyurman (2011-10-26 19:30:12)

Offline

#4 2011-10-25 19:48:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] I haven't free space for user

'drwxrwxrwx' mean full access. Have you tried writing to that location?

Offline

#5 2011-10-25 20:19:19

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

Isnt more space on destination. I get this message. Why?

I had run:

fsck.ext3 -yfv /dev/sdb6

But I have same problem.

Thanks for you ask me.

Last edited by gyurman (2011-10-26 19:31:20)

Offline

#6 2011-10-25 20:21:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] I haven't free space for user

What's the output of

df -hi /media/linux

?

Last edited by karol (2011-10-25 20:22:45)

Offline

#7 2011-10-25 20:25:19

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

/dev/sdb6           17M  152K    17M    1% /media/linux

But you need to know I used before the Ext2Fsd-0.51.exe application. Maybe that did for me a problem?

Last edited by gyurman (2011-10-26 19:31:54)

Offline

#8 2011-10-25 20:27:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] I haven't free space for user

I'm not sure, maybe it's some reserved space? IIRC the filesystem takes 5% for its accounting purposes by default.

Offline

#9 2011-10-25 20:32:02

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

But If I use sudo mc, I have space. Maybe I need change back to ext2?

Offline

#10 2011-10-26 19:11:40

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

dumpe2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   Linux
Last mounted on:          <not available>
Filesystem UUID:          e1113981-dd8c-4f1b-9213-87483e3edb59
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      filetype sparse_super large_file
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              17448960
Block count:              34871074
Reserved block count:     1743551
Free blocks:              1591461
Free inodes:              17293712
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Thu Sep 16 22:19:13 2010
Last mount time:          Tue Oct 25 22:24:26 2011
Last write time:          Wed Oct 26 20:54:27 2011
Mount count:              7
Maximum mount count:      39
Last checked:             Wed Oct 26 01:00:27 2011
Check interval:           15552000 (6 months)
Next check after:         Mon Apr 23 01:00:27 2012
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Default directory hash:   tea
Directory Hash Seed:      751dbdcd-947e-41bf-b133-31756205447b
Journal backup:           inode blocks

Have somebody any idea. I can use for best answer with su -. But I read linux is not windows, but I need use full with root. Do you thing I have generated user with wrong method?

dumpe2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   vmdisk
Last mounted on:          <not available>
Filesystem UUID:          cff692ae-b9fd-4ff2-a881-3e247301a93b
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr resize_inode dir_index filetype sparse_super large_file
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         not clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              294912
Block count:              1178761
Reserved block count:     58938
Free blocks:              1157939
Free inodes:              294901
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      287
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Wed Oct 26 20:49:31 2011
Last mount time:          n/a
Last write time:          Wed Oct 26 20:53:37 2011
Mount count:              1
Maximum mount count:      31
Last checked:             Wed Oct 26 20:49:31 2011
Check interval:           15552000 (6 months)
Next check after:         Mon Apr 23 20:49:31 2012
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Default directory hash:   half_md4
Directory Hash Seed:      35004f28-9daa-422b-83b4-0415a092c46f

This is from a VMDK. But this working. Why?

$ sudo tune2fs -O  ext_attr /dev/sdb6
tune2fs 1.41.14 (22-Dec-2010)
Setting filesystem feature 'ext_attr' not supported.

Oh sit. Anybody know?

Last edited by gyurman (2011-10-26 19:24:03)

Offline

#11 2011-10-26 19:15:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] I haven't free space for user

Have you read https://wiki.archlinux.org/index.php/US … ge_Devices ?


When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Offline

#12 2011-10-26 19:26:23

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

Thank's karol roll
Maybe this help for me solve the problem. cool

Mine partition is in normal HDD, is after NTFS.

Last edited by gyurman (2011-10-26 19:35:32)

Offline

#13 2011-10-26 19:58:05

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

#2 Daniel K. wrote:

Check out the -m option to tune2fs, which sets the reserved-blocks-percentage for the FS - the percentage of blocks reserved to the super user, which is 5% by default.

Presumably, root has filled the partition completely, and 5G worth of deleted user data is not enough to get under the 5% limit to allow for new data to be written by users.

As this partition is used for /home you might as well turn the feature off, as root should not need to have space reserved in that area of the filesystem.

tune2fs -m 0 /dev/sda1

should give regular users access to the reserved blocks.

Thank's for Daniel K.

Last edited by gyurman (2011-10-26 20:00:18)

Offline

#14 2011-10-26 20:00:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] I haven't free space for user

gyurman wrote:

Mine partition is in normal HDD, is after NTFS.

I don't understand what you mean.

gyurman wrote:
#2 Daniel K. wrote:

Check out the -m option to tune2fs, which sets the reserved-blocks-percentage for the FS - the percentage of blocks reserved to the super user, which is 5% by default.

Presumably, root has filled the partition completely, and 5G worth of deleted user data is not enough to get under the 5% limit to allow for new data to be written by users.

As this partition is used for /home you might as well turn the feature off, as root should not need to have space reserved in that area of the filesystem.

[b]tune2fs -m 0 /dev/sda1[/b]

should give regular users access to the reserved blocks.

Thank's for Daniel K.

Yup, that's what I meant about the reserved space.

Offline

#15 2011-10-26 20:17:49

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

Re: [SOLVED] I haven't free space for user

Thank's for Karol. Sorry I didn't understud than. big_smile

Offline

Board footer

Powered by FluxBB