본문 바로가기

Linux

hdd add

hdd 에 uuid 확인

[code]
$ sudo blkid
/dev/sda1: UUID="4eb940ea-9106-4ce2-98dc-17d279e4f186" TYPE="ext4"
/dev/sda5: UUID="f7cd96dd-6a7c-449e-a707-27816e8334b1" TYPE="swap"
/dev/sdb: UUID="bcf4213a-61e0-49d4-ad2c-3dca5cb4ba79" TYPE="ext3"
[/code]

마운트를 위한 fstab 수정

[code]
sudo vi /etc/fstab
[/code]

[code]
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options>     <dump> <pass>
proc            /proc         proc    nodev,noexec,nosuid 0     0
# / was on /dev/sda1 during installation
UUID=4eb940ea-9106-4ce2-98dc-17d279e4f186 /             ext4    errors=remount-ro 0     1
# swap was on /dev/sda5 during installation
UUID=f7cd96dd-6a7c-449e-a707-27816e8334b1 none            swap    sw             0     0
# added
UUID=bcf4213a-61e0-49d4-ad2c-3dca5cb4ba79 /home/minigate/sdb ext4 errors=remount-ro 0 1
[/code]

'Linux' 카테고리의 다른 글

ubuntu 10.10 ssh install guide  (0) 2013.09.26
ubuntu, vnc server installation guide  (0) 2013.09.26
How to clone a hard disk in ubuntu  (0) 2013.09.26
apt-get source option  (0) 2013.09.26
get directory size on linux  (0) 2013.09.26