From the course: Ubuntu Linux: Storage Management
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configure disk mounting
From the course: Ubuntu Linux: Storage Management
Configure disk mounting
- [Instructor] Rather than mounting a file system manually whenever we want to use it, we can tell the system to try to mount it when the system starts up instead. To do that, we need to modify a file called the file system table, or fstab. The format of this file is fairly particular. So before we start modifying it, let's take a look at how it's set up. In the file, there's a line for each volume that we want to have auto-mounted at boot. The entries here can be mounted with the mount -a command later, if need be. On each row, for each device, there are six categories of information that the system needs. First is the file system, or the device that we want to mount. This can be a device path or a UUID. A UUID is generally preferred because it's more specific than a device descriptor that could change at startup, as devices are detected in a different order. The next piece of information we need is the location in the root file system where we want the device to be mounted. And then…
Contents
-
-
-
Explore and identify block devices6m 19s
-
(Locked)
Create and modify partitions14m 3s
-
(Locked)
Create, modify, and mount filesystems8m 27s
-
(Locked)
Create and mount an encrypted partition5m 19s
-
(Locked)
Configure disk mounting4m 1s
-
(Locked)
Mount volumes on demand3m 17s
-
(Locked)
Reconfigure swap space6m 27s
-
(Locked)
Create redundant storage with RAID10m 51s
-
-
-
-