share size

Ross McKillop ross at lyximer.net
Wed Nov 7 16:37:04 GMT 2001


Mount the share using smbmount (mount -t smbfs)
then simply use df as you would normally... on my system this gives an 
output along the lines of....

[root at willow /root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
//general1/c$         7.5G  3.2G  4.3G  43% /mnt/ntws/general1/c
//general2/c$         7.5G  2.2G  5.3G  29% /mnt/ntws/general2/c
//general3/c$          19G  1.2G   17G   7% /mnt/ntws/general3/c
//general4/c$          19G  1.3G   17G   7% /mnt/ntws/general4/c
//general5/c$          19G  1.6G   17G   9% /mnt/ntws/general5/c
//general7/c$         4.0G  1.6G  2.4G  39% /mnt/ntws/general7/c
//general9/c$          19G  7.7G   11G  40% /mnt/ntws/general9/c
//general11/c$         19G  1.9G   16G  11% /mnt/ntws/general11/c
//general12/c$         19G  1.2G   17G   7% /mnt/ntws/general12/c
//general13/c$        7.9G 1006M  6.8G  13% /mnt/ntws/general13/c

I dont know if there's an easier way?


On Wed, 7 Nov 2001, Greg Zartman wrote:

> Does anyone know of a way to determine the size of a share, in bytes/KB,
> using smbclient?
> 
> Thank you
> 
> Greg J. Zartman, P.E.
> Vice-President
> Logging Engineering International, Inc.
> (541)683-8383  fax (541)683-8144
> www.leiinc.com
> 
> 





More information about the samba-ntdom mailing list