LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-05-2007, 11:49 AM   #1
Polymorf
LQ Newbie
 
Registered: May 2007
Distribution: openSuSE
Posts: 8

Rep: Reputation: 0
Resized LVM, but ReiserFS wouldn't resize


I have LVM set up on two discs running RAID 1 (sw) and ReiserFS.
I have resized my logical volume /home with
Code:
# lvresize -L +20G /dev/system/home-volume
but when I tried resizing the file system :
Code:
# resize_reiserfs -f /dev/mapper/system-home--volume
resize_reiserfs 3.6.19 (2003 www.namesys.com)


reiserfs_open: the reiserfs superblock cannot be found on /dev/mapper/system-home--volume.
I have run this both with /home mounted and unmounted, and from runlevel 1,3,5 with the same result.

I have tried google without result. Some suggestions are reiserfsck --rebuild-sb but these were not mentioned in context with LVM, so I'm wondering if this would work ? I'm afraid of loosing data by trying the rebuild because I'm not sure what it does exactly.

Any suggestions?
 
Old 05-05-2007, 06:00 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,972
Blog Entries: 5

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
You seem to have a typo somewhere.

You have "-home" at the end of LV on original command but "--home" in your reiser resize command. The output of the command also has the "--home" so I'm thinking this may be as simple as a typo in your reiser resize command. (That is to say remove the "--home" and make it just "-home").

Also the message complains about Reiser superblock missing. Are you sure it is a Reiser filesystems?
 
Old 05-06-2007, 08:21 AM   #3
Polymorf
LQ Newbie
 
Registered: May 2007
Distribution: openSuSE
Posts: 8

Original Poster
Rep: Reputation: 0
The double hyphen is correct actually.
However I made a huge blunder. I have previously used ReiserFS, but when I reinstalled maybe 6 months ago I chose ext3 and had forgotten about it. Embarrassing...
But now the problem is solved at least.
Thanks
 
  


Reply

Tags
ext3, file, lvm, raid1, reiserfs, system


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
resized a reiserfs partition, not detected correctly Valkyrie_of_valhalla Linux - General 0 04-03-2007 05:13 AM
Raid array resized - Cannot mount LVM - Fedora Core 5 rimfire Linux - Software 0 11-29-2006 12:08 AM
LVM Resize - After logical resize, FS size does not match physical size. spectra Linux - Software 6 11-01-2006 11:28 AM
command to resize forms contents when form is resized vb.net mrobertson Programming 1 07-14-2005 10:39 AM
Resize ReiserFS ultramancool Linux - Software 2 04-26-2005 09:01 PM


All times are GMT -5. The time now is 12:12 AM.

Main Menu
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