It's neither ext2 nor ext3.  You yourself said that you put a reiserfs file
system on it.  That means you need to use the tools from the reiserfsprogs
toolkit to manage it.  As Chris said, reiserfsck is the one you need for
this operation.  Do an "rpm -ql" on the reiserfsprogs package to see the
reset.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Hugo
Rivera
Sent: Wednesday, May 26, 2004 1:39 PM
To: [EMAIL PROTECTED]
Subject: Enlarging a logical volume


Following Redbooks Technote TIPS0128 instructions, I've create a logical
volume and installed a Reiser file system on it, and it works well. I used
the command: mkreiserfs /dev/lvmdata/vol1

Now, I'm trying to enlarge the logical volume vol1 using:

lvextend /dev/lvmdata/vol1 -L 7.64G

and I checked that the new size was taken. Then, following the
"Distributions" redbook instructions I ran e2fsck to check the file system
before run resize2fs and I've got the following messages:

  linuxdev:~ # e2fsck -f /dev/lvmdata/vol1
e2fsck 1.28 (31-Aug-2002)
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open
/dev/lvmdata/vol1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock is
corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

So, I assume it's not a ext2 file but an ext3....so How can I resize my
logical volume???. Any help??....Many thanks.



Hugo.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to