Saturday, November 23, 2013

How i am organizing my file systems

After installing the telescope rails for my new HP DL140G3 adding a disk has become fun. No removing from the rack any more; just pulling the server out; open the safety screw at the back; removing the top cover of the server with a slight yank. The disk are to be stored in two trays on the left side which can also be removed with out any tools. Connect the cables; put the tray back and fasten the screw and we start configuring the disk.

I have build in two 1 TB disks. In order to manage the 2TB flexible i am using logical volumes. The standard allocation of disspace looks like this:


[root@thunder ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_thunder-lv_root
                       50G  2.4G   45G   5% /
tmpfs                 7.8G     0  7.8G   0% /dev/shm
/dev/sdb1             485M   32M  429M   7% /boot
/dev/mapper/vg_thunder-lv_home
                       50G  180M   47G   1% /home
/dev/mapper/vg_thunder-lv_data
                      394G  199M  374G   1% /data
/dev/mapper/vg_thunder-lv_opt
                      9.9G  750M  8.7G   8% /opt
/dev/mapper/vg_thunder-lv_admin
                       50G  180M   47G   1% /root

Since i don't like to have the root user home directory on the root file system where the operating system is located i am installing normally a group lv_admin and mount it on /root. If root logs in he working on his own logical volume group.

The volume group lv_home is intended as /home and lv_data as /data where i am storing computation results.





No comments:

Post a Comment