课程: Linux: Storage Systems (2016)

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Configure file system features and flags

Configure file system features and flags - Linux教程

课程: Linux: Storage Systems (2016)

Configure file system features and flags

- [Instructor] Now, we'll show some special options for XFS and btrfs, and even see an example of debugging a mount problem. Now, let's try XFS. So, let's make sure that our device file d1 is not mounted anywhere. Let's format that, and let's use a special option where XFS that separates the log from the data. So we'll put the data on one partition, and we'll put the log on another one. Let's put the data on number two. Make sure that's not mounted. We're going to use d1 and d2. Put the log on one and the data on the other. So, they're both unmounted. That's good. We're going to mkfs type xfs, because that's what supports this, and we'll use the force option, because we already have a file system there and it would complain if it saw one. The log device, we're going to say, is dev sdd1, and we're going to say the size of that log is 1,000 blocks. Then, the regular partition that we're going to format with that XFS where the data will go will be dev sdd2. There you go, it reported…

内容