LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2009, 05:39 PM   #1
Jenny2
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Receiving an error when using resize2fs on /tmp


Hi,
I receive the below error when using the resize2fs command on /tmp. The filesystem is ext3.

# resize2fs /dev/mappee/Tmp
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/mapper/Tmp is mounted on /tmp; on-line resizing required
Performing an on-line resize of /dev/mapper/VG00-Tmp to 1048576 (1k) blocks.
resize2fs: Operation not permitted While trying to add group #96

Do any know what this error is and how can I do the resize online.

I tried to umount /tmp but I keep getting busy and I don't fine any process ids when I do the fuser.
 
Old 12-08-2009, 10:32 PM   #2
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
The man page for resize2fs tells " It can be used to enlarge or shrink an unmounted file system located on device. " so its clear you need to umount /tmp before you can resize it.
I'm not sure how you used fuser but can you try this command and see if it shows processes using /tmp `fuser -va /tmp`.
 
Old 12-09-2009, 09:45 AM   #3
Jenny2
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
You can use resize2fs when you have a mounted filesystems. If online is supported. We uses ext3. I have enlarge a couple of filesystems while the filesystems were mounted.

The problem is when I do a lvs and lvdisplay the filesystem size say 1GB but when I do a df -k the size is another. So I did a resizefs and got the error stated in the previous thread.

/dev/mapper/Tmp 761624 224265 505919 20% /tmp

Tmp VG00 -wi-ao 1.00G

I did a fuser -u /dev/VG00/Tmp and it returned nothing. I also did fuser -va /tmp and it returned nothing.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation error : /tmp/cczC6Kc3.s:7368: Error: unknown pseudo-op: `.ltorg' nankie Red Hat 0 08-19-2008 10:15 AM
grotty:/tmp/zmani0ORFG:46844:fatal error: output error fakie_flip Linux - Software 1 12-25-2007 12:29 AM
Sound Server Fatal Error: Error - artsmessage: /tmp/mcop-root is accessible owned... m07hm4n Linux - Software 1 08-14-2006 01:01 PM
receiving error, and then machine rebooting evilchild Solaris / OpenSolaris 5 06-09-2004 02:06 PM
"/tmp/sv001.tmp/setup.bin" error while installing OO1.1.0 Choey Linux - Software 0 09-16-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 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
Open Source Consulting | Domain Registration