Linux Modify Mount Directory

Source: Internet
Author: User

Linux Modify mount directory   Modify extended disk default mount point/home to/data [[email protected] ~]# df-h file system       capacity   Used & nbsp, available with percent mount point/dev/mapper/volgroup-lv_root                      & nbsp;50g  3.3g   44G   7%/TMPFS                 7.7G     0  7.7g   0%/dev/shm/dev/sda2             485M   36M  424m   8%/ BOOT/DEV/SDA1             200M  256k  200m   1%/boot/efi/dev/mapper/volgroup -lv_home                      492G  3.7g  463g   1% /home # mkdir/data# umount/home# mount/dev/mapper/volgroup-lv_home/data# vi/etc/fstab/dev/mapper/volgroup-lv_ Root/                      EXT4    defaults   &NBS P    1 1uuid=e8e5023f-de70-4a7e-9bc9-4d22ed6fdc0b/boot                   EXT4    DEFA Ults        1 2uuid=5268-c0f3          /boot/efi               VFAT    UMASK=0077,SHORTNAME=WINNT 0 0/dev/mapper/volgroup-lv_home/home     &NB Sp             EXT4    defaults        1 2/DEV/MAPPER/VOLGROUP-LV _swap swap                    swap    defaults     & nbsp  0 0tmpfs                  /DEV/SHM                TMPFS   defaults        0 0devpts             and nbsp    /dev/pts                devpts  gid=5,mode=620  0 0sysfs &n Bsp &nbsP              /sys                   &NBSP : Sysfs   Defaults        0 0proc                   & Nbsp;/proc                   proc    defaults        0 0 Modify the/etc/fstab inside the/home for/data, let the system start automatically mount to/data reprint: http://www.2cto.com/os/201310/253452.html

Linux Modify mount directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.