Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mkfs.xfs [2015/06/04 10:53]
steve
mkfs.xfs [2015/06/04 11:46]
steve
Line 3: Line 3:
   * [[XFS]]   * [[XFS]]
   * [[mount]]   * [[mount]]
 +  * [[xfs_info]]
  
   * [[http://​oss.sgi.com/​projects/​xfs/​training/​xfs_slides_04_mkfs.pdf|XFS Overview & Internals: mkfs]]   * [[http://​oss.sgi.com/​projects/​xfs/​training/​xfs_slides_04_mkfs.pdf|XFS Overview & Internals: mkfs]]
   * [[http://​oss.sgi.com/​projects/​xfs/​training/​xfs_slides_05_mount.pdf|XFS Overview & Internals: mount]]   * [[http://​oss.sgi.com/​projects/​xfs/​training/​xfs_slides_05_mount.pdf|XFS Overview & Internals: mount]]
 +  * [[http://​oss.sgi.com/​projects/​xfs/​training/​xfs_lab_02_mkfs.pdf|XFS Practical Exercises: mkfs & mount]]
  
 Creating an XFS filesystem can use a partition or the logical device directly. Creating an XFS filesystem can use a partition or the logical device directly.
Line 35: Line 37:
  
 <​code>​ <​code>​
-mkfs.xfs -l logdev=/dev/sdb /dev/sda+mkfs.xfs -d name=/dev/sda -l logdev=/dev/sdb
 mount -o logdev=/​dev/​sdb /dev/sda /mnt/xfs mount -o logdev=/​dev/​sdb /dev/sda /mnt/xfs
 </​code>​ </​code>​
Line 46: Line 48:
  
 <​code>​ <​code>​
-mkfs.xfs -l logdev=/​dev/​sdb -r rtdev=/​dev/​sdc ​/dev/sda+mkfs.xfs ​-d name=/​dev/​sda ​-l logdev=/​dev/​sdb -r rtdev=/​dev/​sdc
 mount -o logdev=/​dev/​sdb,​rtdev=/​dev/​sdc /dev/sda /mnt/xfs mount -o logdev=/​dev/​sdb,​rtdev=/​dev/​sdc /dev/sda /mnt/xfs
 </​code>​ </​code>​
Line 57: Line 59:
  
 <​code>​ <​code>​
-mkfs.xfs -Nf /dev/sda+mkfs.xfs -Nf -d name=/dev/sda
 </​code>​ </​code>​
  
Line 73: Line 75:
  
 <​code>​ <​code>​
-mkfs.xfs -l logdev=/​dev/​sdb,​size=2560b ​/dev/sda+mkfs.xfs ​-d name=/​dev/​sda ​-l logdev=/​dev/​sdb,​size=2560b
 </​code>​ </​code>​