Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


Search this Thread
Old 12-05-2011, 03:09 AM   #1
LQ Newbie
Registered: Nov 2011
Posts: 10

Rep: Reputation: Disabled
after expanding filesystem, system reports correct filesize but only root can write

i open a new thread, since the problem migrated.

the old thread can be found here. it regards to the resizing activity.

in short: i added some discs to a raid and expanded the filesystem with resize2fs.

the system runs SLES 10.

the system now reports the right size, but only root is able to write, all other users get a "no space left on device" message (or the like).

the raid is formatted with ext3 , e2fsck reports no errors. for a short period of time (a few hours) after the expansion, everybody COULD write on that device, but at some point this changed.

i am adding some information i can get:
output of df -h
/dev/mapper/raid2tb-raid2lv 16T  6,7T  8,7T  44% /raid2
output of df -i
Dateisystem                   INodes     IUsed  IFree      %IUsed 
/dev/mapper/raid2tb-raid2lv  2097152000  351420 2096800580 1%    /raid2
output of dumpe2fs -h
dumpe2fs 1.41.14 (22-Dec-2010)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode filetype needs_recovery sparse_super large_file
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              2097152000
Block count:              4194304000
Reserved block count:     25246337
Free blocks:              2337720331
Free inodes:              2096800474
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      24
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Wed Jan 12 12:40:41 2011
Last mount time:          Mon Dec  5 07:12:56 2011
Last write time:          Mon Dec  5 07:12:56 2011
Mount count:              1
Maximum mount count:      24
Last checked:             Mon Dec  5 01:24:41 2011
Check interval:           15552000 (6 months)
Next check after:         Sat Jun  2 02:24:41 2012
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal inode:            8
Default directory hash:   tea
Journal backup:           inode blocks
Jounal properties:         journal_incompat_revoke
Journal size:            128M
Journal length:            32768
Journal sequence:          0x0042b6f5
Journal start:            23175
i am slowly running out of ideas... everything looks ok, but i cannot write on that thing.

thank you very much!
Old 12-06-2011, 02:05 AM   #2
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
What does the command below do?
mount -o remount /
When there is an error detected in the ext3 filesystem, it automatically goes read-only to protect the system.
mount -o remount,rw /

Last edited by Brains; 12-06-2011 at 02:07 AM.
Old 12-06-2011, 02:49 AM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,552

Rep: Reputation: 1083Reputation: 1083Reputation: 1083Reputation: 1083Reputation: 1083Reputation: 1083Reputation: 1083Reputation: 1083
I didn't want to pull this thread off the zero replies list, but since you did manage to get a reboot done and you still have problems, I think you'd have to consider that f/s "suspect".
If it was me, I'd umount it, mkfs on it and restore. In fact I'd probably make it ext4 as the only time I use ext3 these days is for /boot.
Old 12-13-2011, 05:07 AM   #4
LQ Newbie
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
OK, we managed to mount a backup storage. now we want to retire the old /raid2 and set up a new filesystem on that.

but here it gets really weired: i wanted to unmount /raid2 and i am getting the notorious "device is busy" message. i tried any combination of lsof - fuser - /dev/mapper/raid2tb-raid2lv - /raid2 but couldn't get any output. I read that sometimes a running nfs-server is the culprit. but there is none running (i checked -- twice! )

Anyway, i unmounted it with umount -l /raid2 yesterday . Today i tried to remount it, to do some checks before repartitioning and formatting but see this:
mount /dev/mapper/raid2tb-raid2lv /raid2/
mount: /dev/mapper/raid2tb-raid2lv already mounted or /raid2/ busy
mount -o remount,r /raid2/
mount: /raid2 not mounted already, or bad option
which is quite contradictory.

can i do something about this, e.g. finding out what process is accessing /raid2 (as i said lsof and fuser give me nothing) ? i am reluctant to restart the machine, as we had some serious troubles the last time we restarted it.
Old 12-13-2011, 05:27 AM   #5
Registered: Apr 2009
Distribution: Debian testing
Posts: 258

Rep: Reputation: 42
or bad option
mount -o remount,r
Or good option:
mount -o remount,rw /raid2/

Last edited by Brains; 12-13-2011 at 05:33 AM.
Old 12-13-2011, 05:42 AM   #6
LQ Newbie
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
mount -o remount,rw /raid2/
mount: /raid2 not mounted already, or bad option
had not bet on that, though.
Old 01-15-2012, 03:36 PM   #7
LQ Newbie
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
just to close this: restarted the system without mounting /dev/mapper/raid2tb-raid2lv . Tried to mount it, but it gave errors. I cannot remember specifics.

Anyway: Repartitioned, reformatted and remounted.


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
[SOLVED] how can i remount root filesystem as read/write after modify readonly-root file jcwkyl Linux - Newbie 3 12-21-2010 11:40 PM
top reports root system activity clifford227 Linux - Security 2 01-17-2010 08:01 PM
Diskless node cant mount root NFS filesystem for read/write leontini Linux - Networking 0 01-31-2007 02:03 AM
Mounted a filesystem as root.How does one give write-permission to a user? Mr.DeVillie Linux - Software 4 02-08-2006 08:20 AM
filesize on data DVD? which filesystem with xcdroast? deschman Linux - Newbie 0 02-26-2004 06:26 PM

All times are GMT -5. The time now is 03:30 PM.

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