Server Topic
   >  Introduction to RAID
   >  Installing a RAID Software
   >  Creating RAID Partitions
   >  Creating the RAID Device
   >  Creating Logical Volumes
   >  Mounting Logical Volumes
   >  Auto Mounting RAID Arrays
   >  Testing a RAID1 Array
   >  Troubleshooting RAID1 Problems


Mounting a Filesystem

Mounting a Filesystem

Once we have created the Logical Volume (LV) we need to create a dummy (empty) folder/directory that we will mount the new filesystem as, using the standard mkdir syntax:

mkdir <folder name>

In our example, we want to mount the filesystem as /mnt/raid1, so we create a empty directory with that name:

$ mkdir /mnt/raid1

Now, we can mount the new filesystem as /mnt/raid1 using the mount command:

>mount <Logical Volume Address> <Directory to mount as>

In our example, as we want to mount the LV as /mnt/raid1, the command would be:

$ mount /dev/mapper/MYDATA01-lv01 /mnt/raid1

If all went well, the new filesystem should be mounted on the system - you can check by running df -h:

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
                       57G  1.1G   53G   2% /
none                  2.0G  244K  2.0G   1% /dev
none                  2.0G     0  2.0G   0% /dev/shm
none                  2.0G  380K  2.0G   1% /var/run
none                  2.0G     0  2.0G   0% /var/lock
/dev/sda1             228M   21M  195M  10% /boot
                      886G  200M  886G   1% /mnt/raid1

Note: that this mount will disappear after a reboot unless you add it into the system boot configuration

HomeSite IndexDesktop GuideServer GuideHints and TipsHardware CornerVideo SectionContact Us

 sitelock verified Firefox Download Button