CIFS
#
mount -t cifs //server/share /mountpoint -o user=username
#umount /mountpoint
NFS
#mount -t nfs hostname:/mountpoint /mountpoint
#umount /mountpoint
#umount /mountpoint
NFS
#mount -t nfs hostname:/mountpoint /mountpoint
#umount /mountpoint
FDISC ( managing partitions )
List, create, delete and set
partition type for primary, extended, and logical partitions
List
partitions
#fdisk -l
Create partition
#fdisk /dev/vda
(vda can be replaced by sda if its not virtual machine)
Then press
n
After that select e or p for extended or primary partition type.
Then give appropriate size
Finally type
w
Then type
p
to check partition table where you can see the newly created partition.
#fdisk -l
Create partition
#fdisk /dev/vda
(vda can be replaced by sda if its not virtual machine)
Then press
n
After that select e or p for extended or primary partition type.
Then give appropriate size
Finally type
w
Then type
p
to check partition table where you can see the newly created partition.
No comments:
Post a Comment