Merhaba Arkadaşlar,
df -h
yum install nfs-utils nfs-utils-lib
chkconfig nfs on
service rpcbind start
service nfs start
mount IP:/vol/vol2 /nas
lsblk
sfdisk -l
fdisk /dev/sdb
m ---menu
n---add disk
w--write(save)
p---print(list disk)
q---quit(not save exit)
mkfs -t ext4 /dev/sdb1
mkdir /lun2
mount /dev/sdb1 /lun2
vi /etc/fstab
/dev/mapper/VolGroup-lv_root / ext4 defaults 1 1
UUID=ea10a0d5-0e9f-4a1a-8593-854851ea3650 /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
/dev/sdb1 /lun2 ext4 defaults 1 2
192.168.15.175:/vol/vol2/IPTV_UI /nas nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
Hiç yorum yok:
Yorum Gönder