cancel
Showing results for 
Search instead for 
Did you mean: 

Mount device problem

SOLVED
Go to solution
ust3
Regular Advisor

Mount device problem

I have a harddisk which has 72G size , I want to mount it to path /ora_dir , I try to mount the device from sdd1 to sdd5 , but even I try all dev path , it still found the size is not 72G , could advise how can I normally mount the path ? thx

try 1 )
#mount /dev/sdd1 /ora_dir
df
#/dev/sdd1 5036224 3480872 1299524 73% /ora_dir

try 2 )
#mount /dev/sdd2 /ora_dir
df
#/dev/sdd2 5036224 4072364 708032 86% /ora_dir

try 3 )
#mount /dev/sdd3 /ora_dir
df
#/dev/sdd3 4032000 3736716 90464 98% /ora_dir

try 4 )
#mount /dev/sdd4 /ora_dir
df
#/dev/sdd4 2355868 803156 1433036 36% /ora_dir

try 5 )
#mount /dev/sdd5 /ora_dir
df
#/dev/sdd5 2016016 69432 1844172 4% /ora_dir

2 REPLIES
Van den Broeck Tijl
Valued Contributor
Solution

Re: Mount device problem

ssd1-ssd5 are the partitions on that disk, not the entire disk. Listing your current disk layout is like this: fdisk -l /dev/sdd

You'll see immediately where your 72G went in partitions.


If you want to erase the disk and use it as a whole you can use fdisk or cfdisk on it and format it after.
fdisk /dev/sdd
(delete all partitions with 'd' and create a single new one with 'n' and format it)
mkfs -t ext3 /dev/sdd1
mount /dev/sdd1 /ora_dir
(be sure to add it to /etc/fstab like this as well if you want the disk to be mounted after reboots: /dev/sdd1 /ora_dir ext3 defaults 0 2)



ust3
Regular Advisor

Re: Mount device problem

I got it , thx.