[dm-devel] [EVMS][XFS][DM] We cannot create XFS file system on the evms volume larger than 1TB
Michael Yao -姚志臻
Michael.Yao at zyxel.com.tw
Thu Apr 13 09:06:18 UTC 2006
Hi, I have FOUR 500GB SATA hard disks.
I created a 1.4TB evms volume, and it failed when I want to make XFS filesystem on it.
These are the snapshots:
root at 2TB:~# mkfs.xfs -f -L volume1 /dev/evms/volume1
meta-data=/dev/evms/volume1 isize=256 agcount=4294967134, agsize=1048576 blks
= sectsz=512
data = bsize=4096 blocks=4503599456772095, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=32768, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
mkfs.xfs: pwrite64 failed: Invalid argument
root at 2TB:~# mkfs.xfs -f -L volume1 -d size=100m /dev/evms/volume1
meta-data=/dev/evms/volume1 isize=256 agcount=6, agsize=4267 blks
= sectsz=512
data = bsize=4096 blocks=25600, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=1200, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
mkfs.xfs: pwrite64 failed: Invalid argument
4503599456772095 probably isn't correct, it should be 357687.
It seems to have a disconnection between what evms is reporting for the size of the partition and what mkfs is getting.
And it won’t happen in non-EVMS/DM devices.
As described in http://oss.sgi.com/bugzilla/show_bug.cgi?id=267
Setup: device-mapper 1.01.05/Driver version 4.1.1, evms2.5.5, linux 2.4.31
And these are the evms commands:
asm:DosSegMgr={}, sda
asm:DosSegMgr={}, sdb
asm:DosSegMgr={}, sdc
asm:DosSegMgr={}, sdd
create: Segment, sda_freespace1, primary=false
create: Segment, sdb_freespace1, primary=false
create: Segment, sdc_freespace1, primary=false
create: Segment, sdd_freespace1, primary=false
create: Region, MDRaid5RegMgr={}, sda5, sdb5, sdc5, sdd5
create: Container, LvmRegMgr={name="Con_volume1", pe_size=32MB}, md/md0
create: Region, LvmRegMgr={name="Reg_volume1", size=1.4TB}, "lvm/Con_volume1/Freespace"
create: Volume, "lvm/Con_volume1/Reg_volume1", Name="volume1“
mkfs: XFS={vollabel=volume1}, /dev/evms/volume1
--
Best regards, Michael Yao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20060413/244b8b27/attachment.htm>
More information about the dm-devel
mailing list