Wednesday, 5 October 2011

Mount new disk in linux

fdisk -l
fdisk /dev/sdl
n
p
w

mkfs.ext3 -b 4096 /dev/sdl1
mkdir /oracle
# add in /etc/fstab the following line
/dev/sdl1 /oracle ext3 defaults 0 0
mount /oracle