Arch/Samba takes forever to delete my files ext3 format.

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Arch/Samba takes forever to delete my files ext3 format.

Postby yazyazoo » Tue Mar 12, 2013 3:59 pm

I just got Samba onto Pogoplug and was trying to move 800GB of movies from my Win 7 PC to the Pogo. Sometime during the night the Pogo must have disconnected from the PC and I saw a bunch of errors on my PC saying that the folder wasn't found. Many of the transfers were cut halfway so I now have to figure out which transferred. I wanted to delete the folders that had the error and redo them so I wouldn't lose any data.

So I go to the Pogo and try to delete one of the folder that is 36GB and it is going to take hours. Is this normal? I am using ext3 format.
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Arch/Samba takes forever to delete my files ext3 format.

Postby winestock » Tue Mar 12, 2013 4:27 pm

$this->bbcode_second_pass_quote('yazyazoo', 'I') just got Samba onto Pogoplug and was trying to move 800GB of movies from my Win 7 PC to the Pogo. Sometime during the night the Pogo must have disconnected from the PC and I saw a bunch of errors on my PC saying that the folder wasn't found. Many of the transfers were cut halfway so I now have to figure out which transferred. I wanted to delete the folders that had the error and redo them so I wouldn't lose any data.

So I go to the Pogo and try to delete one of the folder that is 36GB and it is going to take hours. Is this normal? I am using ext3 format.


Are you doing a "rm -rf" on the Pogoplug after you ssh into it? Or are you trying to delete the 36GB over samba?

I would not do the delete over samba, I would do a "rm -rf" directly on the Pogoplug.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Arch/Samba takes forever to delete my files ext3 format.

Postby yeehaa » Tue Mar 12, 2013 4:28 pm

$this->bbcode_second_pass_quote('yazyazoo', 'I') just got Samba onto Pogoplug and was trying to move 800GB of movies from my Win 7 PC to the Pogo. Sometime during the night the Pogo must have disconnected from the PC and I saw a bunch of errors on my PC saying that the folder wasn't found. Many of the transfers were cut halfway so I now have to figure out which transferred. I wanted to delete the folders that had the error and redo them so I wouldn't lose any data.

So I go to the Pogo and try to delete one of the folder that is 36GB and it is going to take hours. Is this normal? I am using ext3 format.


You are trying to move 800gigs over the network? N that too samba?!
Try connecting it to your pc and transfer by USB.. Since its ext3 maybe you can install Ubuntu in virtual box or something..
yeehaa
 
Posts: 43
Joined: Mon May 21, 2012 7:54 pm

Re: Arch/Samba takes forever to delete my files ext3 format.

Postby Socaltom » Tue Mar 12, 2013 5:46 pm

I routinely transfer 8 to 10GB over samba from my windows machine. this usually take about 15 minutes. I have multiple pogoplugs, and if I have to transfer between them I either move the drive ( if its really big transfers) or I mount the samba share directly from the other Arch Linux ARM install and I use rsync to perform the transfer. rsync can restart a partial transfer rather than needing to start over.

My record for transferring files is about 800GB, I was backing up my media library between two plugs and it took several days to complete. Ultimately I would just run rsync overnight and then stop the transfer during the day when there might be other demands on the devices.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Arch/Samba takes forever to delete my files ext3 format.

Postby yazyazoo » Tue Mar 12, 2013 7:36 pm

winestock,

Would I just do rm -rf then file name e.g. rm -rf /mnt/media/movies/MOVIE?


Yeeha,

I am doing it over Samba. I never thought about that but 800gb is tons. Do you think if I use a ubuntu live I will be able to transfer it over to the USB hard drive? If i shutdown the Pogo correctly, unplug the ext HD and put it into the ubuntu live setup and after transferring will that drive still mount automatically on my pogoplug?

So I connected my drive by taking it out o fthe enclosure and putting it into my SATA port then booted in Knoppix linux CD. I tried ot erase the old files but it won't let me. I tried to chmod that folder and it won't let me delet anything.

What to do?
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: Arch/Samba takes forever to delete my files ext3 format.

Postby winestock » Tue Mar 12, 2013 10:09 pm

$this->bbcode_second_pass_quote('yazyazoo', 'w')inestock,

Would I just do rm -rf then file name e.g. rm -rf /mnt/media/movies/MOVIE?


Yes.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am
Top

Re: Arch/Samba takes forever to delete my files ext3 format.

Postby yeehaa » Wed Mar 13, 2013 12:25 am

$this->bbcode_second_pass_quote('yazyazoo', 'w')inestock,

Would I just do rm -rf then file name e.g. rm -rf /mnt/media/movies/MOVIE?


Yeeha,

I am doing it over Samba. I never thought about that but 800gb is tons. Do you think if I use a ubuntu live I will be able to transfer it over to the USB hard drive? If i shutdown the Pogo correctly, unplug the ext HD and put it into the ubuntu live setup and after transferring will that drive still mount automatically on my pogoplug?

So I connected my drive by taking it out o fthe enclosure and putting it into my SATA port then booted in Knoppix linux CD. I tried ot erase the old files but it won't let me. I tried to chmod that folder and it won't let me delet anything.

What to do?


i dont know about knoppix but like any linux distro you should be able to delete, copy-paste and everything from and to the harddisk..
we are missing something here.. did you try to delete the files as root? i dont know who the default login of knoppix is.
yeehaa
 
Posts: 43
Joined: Mon May 21, 2012 7:54 pm
Top

Re: Arch/Samba takes forever to delete my files ext3 format.

Postby yazyazoo » Wed Mar 13, 2013 6:09 am

Yup that was the problem. I wasn't root. Thanks
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests