LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Check SAN Disk Usage ??? (https://www.linuxquestions.org/questions/linux-newbie-8/check-san-disk-usage-765639/)

glen_walter 10-30-2009 03:21 PM

Check SAN Disk Usage ???
 
hii am working on a linux server and have a temporary SAN disk 55G LUN mounted...
how can i know the amount of disk space on it??

its mounted as /mnt/testdata

firing df -H doesnt show any disk mounted on that place...

plz let me know...

TB0ne 10-30-2009 03:38 PM

Quote:

Originally Posted by glen_walter (Post 3738318)
hii am working on a linux server and have a temporary SAN disk 55G LUN mounted...
how can i know the amount of disk space on it??

its mounted as /mnt/testdata

firing df -H doesnt show any disk mounted on that place...

plz let me know...

Then you don't have a drive mounted at that location. Your files are probably going into that directory, not onto the SAN.

Linux will just see a SAN disk as just another SCSI disk, nothing special.

glen_walter 10-30-2009 04:18 PM

but then i can acess that location using cd command, move copy delete files from der...

TB0ne 10-30-2009 04:25 PM

Quote:

Originally Posted by glen_walter (Post 3738377)
but then i can acess that location using cd command, move copy delete files from der...

Right. That location is nothing more than a directory. Read my previous post...chances are, your files are just getting copied to local disk, into that directory, not to the SAN.

glen_walter 10-30-2009 04:37 PM

sir but why cannot i see the disk space of testdata mounted on /mnt .. is there any oder command, i have being figuring this out for 2 days now..

and thanks a millions for such informational website.. thanks

> df -H
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvg-root_lv
1.1G 753M 204M 79% /
/dev/mapper/rootvg-var_lv
3.2G 421M 2.6G 15% /var
/dev/mapper/rootvg-home_lv
1.1G 905M 51M 95% /home
/dev/mapper/rootvg-usr_lv
3.1G 2.1G 861M 70% /usr
/dev/cciss/c0d0p1 104M 17M 82M 17% /boot
tmpfs 5.3G 0 5.3G 0% /dev/shm

TB0ne 10-30-2009 07:36 PM

Quote:

Originally Posted by glen_walter (Post 3738391)
sir but why cannot i see the disk space of testdata mounted on /mnt .. is there any oder command, i have being figuring this out for 2 days now..

Ok...this is the THIRD TIME:

YOU CAN'T SEE IT, BECAUSE IT'S NOT MOUNTED. You DO NOT have the SAN volume mounted to that mount-point.

Type in "mount". You should see the SAN device listed...if you don't, it isn't mounted, period. There's nothing else to do, other than mount it.


All times are GMT -5. The time now is 02:03 AM.