General Linux Commands

//Scan the Scsi Controller (note: if you host has)
echo "- - -" > /sys/class/scsi_host/host0/scan


//check the newly added disks
fdisk -l | grep -i ^Disk


//check the partation
fdisk -l <ex: /dev/sdf>


//create the partation
fdisk <ex: /dev/sdf>
n
p
v
p
w


//make filesystem
mkfs.ext3 <ex: /dev/sdf1>


//Check fstab
cat /etc/fstab


//check permission
ls -alh </filesystem path>


//Find a file
find / -name filename

No comments:

Post a Comment