Results 1 to 8 of 8
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-05-2007 #1
Resized lvm, but Reiserfs won't be resized.
I have LVM set up on two discs running RAID 1 (sw) and ReiserFS.
I have resized my logical volume /home with
but when I tried resizing the file system :Code:# lvresize -L +20G /dev/system/home-volume
I have run this both with /home mounted and unmounted, and from runlevel 1,3,5 with the same result.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 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?
- 05-05-2007 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Why is there two hyphens in system-home--volume?
- 05-05-2007 #3
- 05-05-2007 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
I was just curious, all of my LVMs have only single hyphens in them. It's probably a form of delimiter to use the hyphen twice

What is the actual file called say in /dev/mapper/ ?
- 05-05-2007 #5
Here is my df -h output
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md0 510M 183M 301M 38% /
udev 1006M 140K 1005M 1% /dev
/dev/sda2 31M 9,4M 20M 33% /boot
/dev/mapper/system-local--volume
496M 19M 452M 4% /local
/dev/mapper/system-opt--volume
4,0G 1,2G 2,6G 32% /opt
/dev/mapper/system-srv--volume
248M 12M 224M 5% /srv
/dev/mapper/system-tmp--volume
3,0G 456M 2,4G 16% /tmp
/dev/mapper/system-usr--volume
5,0G 3,7G 1,1G 79% /usr
/dev/mapper/system-var--volume
1008M 451M 506M 48% /var
/dev/mapper/system-home--volume
119G 110G 2,5G 98% /home
As you can see these are the /dev/mapper names. Not sure if that's what you meant, though as the path was already specified in the first post ?
I have resized the logical volume /dev/mapper/system-home--volume to 140G. But the file system remains as shown. I don't think the hyphens are the problem since the lvm operations went fine.
edit: /dev/system contains links to /dev/mapper btw.
- 05-05-2007 #6
Ah, here is the reason for the double hyphens: http://lists.debian.org/debian-boot/.../msg00823.html
edit: I should also mention that i have tried
as well, with the same result...Code:resize_reiserfs -f /dev/system/home-volume
- 05-06-2007 #7
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
- 05-06-2007 #8Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Sorry just back on now. Glad you got it sorted though


Reply With Quote
