5.5. Mounting a Local ext2 or ext3 Hard Disk Filesystem

Before you can mount a new filesystem from a local hard disk, a partition must have been prepared and formatted with the corrected filesystem type. For details on how to do this, see Chapter 8. If you have a choice, ext3 (called the New Linux Native Filesystem by Webmin) should be used instead of ext2 (the Linux Native Filesystem) because of its support for journaling. See Section 5.13 “A Comparison of Filesystem Types” for more details on the advantages of ext3.

To mount your local filesystem, follow these steps:

1.
On the main page of the Disk and Network Filesystems module, select Linux Native Filesystem or New Linux Native Filesystem from the drop-down box of filesystem types, and click the Add mount button. A form will appear for entering the mount point, source, and options.

2.
In the Mounted As field, enter the directory on which you want the filesystem to be mounted. The directory should be either nonexistent or empty because any files that it currently contains will be hidden once the filesystem is mounted.

3.
If you want the filesystem to be mounted at boot time, select Save and mount at boot for the Save Mount option. If you want it to be permanently recorded but not mounted at boot, select Save. Select Don't save if this is to be only a temporary mount.

4.
For the Mount now? option, select Mount if you want the filesystem to be mounted immediately, or Don't mount if you just want it to be recorded for future mounting at boot time.

5.
If the Check filesystem at boot? option exists, it controls whether the filesystem is validated with the fsck command at boot time before mounting. If your system crashes or loses power, any ext2 or ufs filesystems that were mounted at the time will need to be checked before they can be mounted. It is generally best to set this option to Check second.

6.
For the Linux Native Filesystem field, click on the Disk option and select the partition which has been formatted for your new filesystem. All IDE and SCSI disks will appear in the menu.

If any of the partitions on your system are labeled, you can mount one by selecting the Partition labeled option and choosing the one you want. Labels are explained further in Chapter 8.

If your system has any RAID devices configured (as also explained in Chapter 8), you can select the RAID device option and choose the one you want to mount from the menu.

If you are using LVM (Logical Volume Management, covered in Chapter 8), a list of all available logical volumes will appear next to the LVM logical volume option for you to select from.

You can also click on the Other device option and enter the path to the device file for your filesystem, like /dev/hda2.

7.
Change any of the options in the bottom section of the form that you want to enable. Some of the most useful are:

Read-only? If set to Yes, files on this filesystem cannot be modified, renamed, or deleted.

Use quotas? If you want to enforce disk quotas on this filesystem, you must enable this option. Most filesystem types will give you the choice of user quotas, group quotas, or both. To complete the process of activating and configuring quotas, see Chapter 7.

8.
Click the Create button at the bottom of the page to mount and/or record the filesystem. If all goes well, you will be returned to the filesystems list, otherwise an error will be displayed explaining what went wrong.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.248.149