[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] mke2fs problem
- From: Gordon Schumacher <whiplash pobox com>
- To: linux-lvm sistina com
- Subject: [linux-lvm] mke2fs problem
- Date: Mon, 08 Jan 2001 16:53:42 -0700
Okay, I am hoping that someone can help me with this...
I've got a system that I'm trying to get LVM working on. It's got a
2.4.0-rel kernel running on it, and I've updated to e2fsprogs 1.19.
The Linux install is SuSE 7.0.
I have two drives installed in the system currently. One of them is
the drive that contains the main Linux partitions - /dev/hda is 15GB and
has ~12GB free on hda1 that I want to make part of a volume group.
The other, /dev/hdc, is a 60GB which will also become part of the volume
group.
I've partitioned them and set the types to 0x8e, and then run the
following:
pvcreate /dev/hda3
pvcreate /dev/hdc1
vgcreate mygrp /dev/hda3 /dev/hdc1
lvcreate -i 2 -L 52M -n lv1 mygrp
lvcreate -i 2 -L 12M -n lv2 mygrp
mke2fs /dev/mygrp/lv1
mke2fs 1.19, 13-Jul-2000 for EXT2 FS
0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
14336 inodes, 57344 blocks
2867 blocks (5.00%) reserved for the super user
First data block=1
7 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961
Writing inode tables:
done
Writing superblocks and filesystem accounting information: done
mke2fs /dev/mygrp/lv2
mke2fs 1.19, 13-Jul-2000 for EXT2 FS
0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
4096 inodes, 16384 blocks
819 blocks (5.00%) reserved for the super user
First data block=1
2 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193
Writing inode tables:
done
Writing superblocks and filesystem accounting information: done
I've included the output of the mke2fs command. Note the
surprisingly small number of blocks...!
Here's what lvdisplay /dev/mygrp/lv1 shows:
--- Logical volume ---
LV
Name
/dev/mygrp/lv1
VG
Name
mygrp
LV Write Access
read/write
LV
Status
available
LV
#
1
#
open
0
LV
Size
56 MB
Current
LE
14
Allocated LE
14
Stripes
2
Stripe size (KByte) 16
Allocation
next free
Read ahead sectors 120
Block device
58:0
So, everything *looks* like it's the right size; but mke2fs seems
to think that it's talking to a ~57MB and ~16MB disk, respectively!
What am I doing wrong here?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]