csh# du -k /mnt/poolname syntax correct ?

Status
Not open for further replies.

redfiveuk

Cadet
Joined
Jun 22, 2013
Messages
6
Hi All,
I am trying to execute this command to see why my freespace is not showing up after deleting a load of files but I keep getting an error please see below

csh# du -k /mnt/poolname

du: No such file or directory.

this is my pool status output

NAME STATE READ WRITE CKSUM
iTechRaid ONLINE 0 0 0
raidz1 ONLINE 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
ada3p2 ONLINE 0 0 0
my share name is Datastore


I am have tried csh# du -k /mnt/iTechRaid
csh# du -k /mnt/iTechRaid/raidz1
csh# du -k /mnt/iTechRaid/raidz1/Datastore
csh# du -k /mnt/iTechRaid/Datastore

but i keep getting du: No such file or directory. Any ideas where i am going wrong here ?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
du -k /mnt/iTechRaid

should work for you. i just ran the same command on my pool and it worked. are you running it as root?


Hi All,
I am trying to execute this command to see why my freespace is not showing up after deleting a load of files but I keep getting an error please see below

csh# du -k /mnt/poolname
 

redfiveuk

Cadet
Joined
Jun 22, 2013
Messages
6
Hi Yes I am using putty and ssh and then logging on with the root user/pass. Very strange then any ideas ?
 
Status
Not open for further replies.
Top