lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
root@ubuntu:~# lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 232.9G
├─sda1 ext4 487M /boot
├─sda2 ext4 37.3G /
├─sda3 swap 7.5G [SWAP]
└─sda4 reiserfs 187.7G /cache
sdb 465.8G
├─sdb1 1K
└─sdb5 vfat 465.8G /movie MOVIE
chek mount
df -h
root@ubuntu:~# df -hFilesystem Size Used Avail Use% Mounted on
/dev/sda2 37G 5.9G 29G 17% /
udev 1.9G 4.0K 1.9G 1% /dev
tmpfs 389M 560K 389M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.9G 2.1M 1.9G 1% /run/shm
/dev/sda4 188G 133G 56G 71% /cache
/dev/sda1 464M 16M 420M 4% /boot
create dir n permision
root@ubuntu:~# mkdir /movieroot@ubuntu:~# chgrp plugdev /movie
root@ubuntu:~# chmod 777 /movie
root@ubuntu:~# chmod +t /movie
check manual mount
mount -t vfat /dev/sdb5 /movie
if(no_error)
umount -t vfat /dev/sdb5 /movie
edit fstab
/dev/sdb5 /movie vfat defaults 0 0
save
test
mount -a
if(no_error)
df -h
if (error) do not restart pc :D
check your fstab
check your fstab
root@ubuntu:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 37G 5.9G 29G 17% /
udev 1.9G 4.0K 1.9G 1% /dev
tmpfs 389M 560K 389M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.9G 2.1M 1.9G 1% /run/shm
/dev/sda4 188G 133G 56G 71% /cache
/dev/sda1 464M 16M 420M 4% /boot
/dev/sdb5 466G 363G 104G 78% /movie
if ok now restart your pc
taraaa
root@ubuntu:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 37G 5.9G 29G 17% /
udev 1.9G 4.0K 1.9G 1% /dev
tmpfs 389M 452K 389M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.9G 2.1M 1.9G 1% /run/shm
/dev/sda4 188G 133G 56G 71% /cache
/dev/sdb5 466G 363G 104G 78% /movie
/dev/sda1 464M 16M 420M 4% /boot
No comments:
Post a Comment