Skip to contentSkip to conversation

xfs mount/create options (was: XFS status update for August 2010)

DISCUSSION Richard Scobie 2 participants 2 messages Sep 6, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Michael Monnerie

When I defined su/sw on mkfs, is it enough, or would I always have to specify sunit/swidth with every mount too?

Yes. sunit/swidth only needs to be added to your fstab if you either got the calculation wrong when you initially created the fs and wish to correct it, or if you grow the fs later over more drives.

Note that with recent kernels, mkfs.xfs will choose the optimal sunit/swidth for you if you are using md RAID or LVM (I believe the latter is correct).

Regards,

Richard

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 6 lines · On Dienstag, 7. September 2010 Richard Scobie wrote:
Quoted 2 lines

When I defined su/sw on mkfs, is it enough, or would I always have to specify sunit/swidth with every mount too?

Yes. sunit/swidth only needs to be added to your fstab if you either
got the calculation wrong when you initially created the fs and wish to correct it, or if you grow the fs later over more drives.

Thank you.

Quoted 3 lines

Note that with recent kernels, mkfs.xfs will choose the optimal sunit/swidth for you if you are using md RAID or LVM (I believe the latter is correct).

I don't use software RAID, but thanks for clarification.

Signature · 13 lines
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31

****** Aktuelles Radiointerview! ******
http://www.it-podcast.at/aktuelle-sendung.html

// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs