mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home
XFS on for Swift @Apr 26, 2015 3:51:39 PM

As a test environment I will add 4 USB disks and use them as data drives for Swift.

The disks come partitioned and formatted, we'll change that.

I do not need partitions on the data disks, so I will force mkfs.xfs to ignore the partition table and format the raw disk insead:

$ sudo /sbin/mkfs.xfs -f -L data1 -l internal=1,lazy-count=1 -d agcount=4 -b size=4096 /dev/sdf
meta-data = /dev/sdf isize=256 agcount=4, agsize=183139584 blks
	  = sectsz=4096 attr=2, projid32bit=0
data	  = bsize=4096 blocks=732558336, imaxpct=5
	  = sunit=0 swidth=0 blks
naming	  = version 2 bsize=4096 ascii-ci=0
log	  = internal log bsize=4096 blocks=357694, version=2
	  =  sectsz=4096 sunit=1 blks, lazy-count=1
realtime  = none extsz=4096 blocks=0, rtextents=0



Mount the filesystem somewhere (temporarily)
$ sudo mount -t xfs -o noatime,nodiratime,nodev,logbufs=8 -L data1 /mnt/sdf


VeryQuickWiki Version 2.8.1 | Admin

All contents copyright mdsh.com (C) 2011-2023.