public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* mkfs.xfs created filesystem larger than underlying device
@ 2009-06-24 20:48 Michael Moody
  2009-06-24 22:24 ` Eric Sandeen
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Moody @ 2009-06-24 20:48 UTC (permalink / raw)
  To: xfs@oss.sgi.com


[-- Attachment #1.1: Type: text/plain, Size: 1677 bytes --]

Hello all.

I recently created an XFS filesystem on an x86_64 CentOS 5.3 system. I used all tools in the repository:

Xfsprogs-2.9.4-1
Kernel 2.6.18-128.1.10.el5.centos.plus

It is a somewhat complex configuration of:

Areca RAID card with 16 1.5TB drives in a RAID 6 with 1 hotspare (100GB volume was created for the OS, the rest was one large volume of ~19TB)
I used pvcreate /dev/sdb to create a physical volume for LVM on the 19TB volume.
I then used vgcreate to create a volume group of 17.64TB
I used lvcreate to create 5 logical volumes, 4x4TB, and 1x1.5TB
On top of those logical volumes is drbd (/dev/drbd0-/dev/drbd4)
On top of the drbd volumes, I created a volume group of 17.50TB (/dev/drbd0-/dev/drbd4)
I created a logical volume of 17.49TB, upon which was created an xfs filesystem with no options (mkfs.xfs mkfs.xfs /dev/Volume1-Rep-Store/Volume1-Replicated -L Replicated)

The resulting filesystem is larger than the underlying logical volume:

--- Logical volume ---
  LV Name                /dev/Volume1-Rep-Store/Volume1-Replicated
  VG Name                Volume1-Rep-Store
  LV UUID                fB0q3f-80Kq-yFuy-NjKl-pmlW-jeiX-uEruWC
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                17.49 TB
  Current LE             4584899
  Segments               5
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:5

/dev/mapper/Volume1--Rep--Store-Volume1--Replicated
                       18T  411M   18T   1% /mnt/Volume1

Why is this, and how can I fix it?

Thanks,
Michael

[-- Attachment #1.2: Type: text/html, Size: 8227 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-06-28 17:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24 20:48 mkfs.xfs created filesystem larger than underlying device Michael Moody
2009-06-24 22:24 ` Eric Sandeen
2009-06-24 22:26   ` Michael Moody
2009-06-24 23:02     ` Eric Sandeen
2009-06-24 23:05       ` Michael Moody
2009-06-24 23:06         ` Eric Sandeen
2009-06-24 22:33   ` Michael Moody
2009-06-27 11:33     ` Peter Grandi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox