PDA

View Full Version : [ubuntu] SMB Mount size 78 MB?



mac666
January 7th, 2010, 10:05 PM
Hey
I have mounted a SMB hardvare drive that works flawless if i go by the adress:
smb://freenas/share

But if i mount it to /media/share the size is 78 MB.
The real size is 1TB.
Still, if i go to smb://freenas/share, the size is real.

This is my fstab line that mounts it:

//freenas.local/share /media/share smbfs credentials=/home/mac/.smbcredentials,uid=mac,gid=users 0 0

Any ideas? :(

johnson.d
January 8th, 2010, 01:53 PM
Can you post the output of mount command in your client machine and also specify the tool used to browse through the address smb://freenas/share ( Nautilus? )?

mac666
January 8th, 2010, 06:07 PM
Can you post the output of mount command in your client machine and also specify the tool used to browse through the address smb://freenas/share ( Nautilus? )?

No Specific output:


mac@turd:~$ sudo mount -t smbfs //nasaret.local/share/Lager2 /media/Lager2 -o uid=mac,gid=users
Password:
mac@turd:~$
same with cifs instead of smbfs

mac@turd:~$ sudo mount -t cifs //nasaret.local/share/Lager2 /media/Lager2 -o uid=mac,gid=users
Password:
mac@turd:~$

I browse the drive with nautilius.

johnson.d
January 21st, 2010, 09:49 AM
I have simulated the same setup and have tried mounting a freeNAS share and i get the following results

When mounted the folder using the following command:

mount -t cifs //freenas.local/share /mnt/share -o uid=xxxxxx,dom=WORKGROUP

It gets mounted seamlessly and shows the exact size while using the command $ df -h and getting the following details:

//freenas.local/share 1.5G 42M 1.4G 4% /mnt/share

When mounted in nautilus using the url smb://freenas.local/share and when i see the properties by right clicking on the folder "share" it shows the following details

Contents: 6 items totaling 41.4 MB

Free space: unknown
0 bytes used
0 bytes free

Please check if this matches your findings.

mac666
January 23rd, 2010, 11:00 AM
Hey

What you need to do is:

Mount the Drive, not the share point.

Etc:

If you have a mounted drive on /mnt/share/drive1

Mount that one, instead of just mounting share..

Go for it!

johnson.d
January 25th, 2010, 08:21 AM
I am afraid I don't understand your setup clearly. Can you explain it in more detail, possibly listing the steps you are following in both scenarios (using Nautilus and the console)?