[Samba] Strange file listing with mounted REV drive

Kevin Bailey kbailey at freewayprojects.com
Fri May 4 22:03:31 GMT 2007


A client has an Iomega REV drive installed on a PC and this is used for 
the off-site backups.  This drive has disks left in and then that drive 
on the PC is shared out.

I mount the share with

mount -t cifs // /mnt/xp61 -o 

and this is mounted on to a Debian Etch / Samba 3.0.24-6 machine.

Now when I 'ls' or 'find' this share it only returns 43 file names.  If 
I delete a couple files at the begining of the list (alphanumerically) 
then the next 43 are shown.

I need to delete all of the existing files on the share before I then 
copy across the latest backup copies.

To delete all of the files I run

# find /mnt/xp61 -type f -print0 | xargs -0 --max-args=1 -r --verbose 
# find /mnt/xp61 -type f -print0 | xargs -0 --max-args=1 -r --verbose 

several times to make sure all files have been deleted.

OK - so I have a workaround but thought this needed clarifying.



Kevin Bailey
IT Consultant

Email: kbailey at freewayprojects.com
Tel: 01752 268923
W: www.freewayprojects.com

More information about the samba mailing list