Community discussions

 
User avatar
AlainCasault
Trainer
Trainer
Topic Author
Posts: 609
Joined: Fri Apr 30, 2010 3:25 pm
Location: Laval, QC, Canada
Contact:

Can't delete Dude files on CHR

Fri Oct 11, 2019 10:25 pm

Hello guys,

I'm running 6.45.6 on Hyper-V (Winodws 10 Pro).

I ran The Dude on it for a while and stopped it. Now, I can't seem to delete the leftover files under /Dude and there's only 1% of my file system left (out of the original 95MB!!!).

I've read through the forum, but as it's a CHR, I can't Netinstall. Whenever I try to delete a file or subdirectory, I get an "action failed (6)" message. I created a new disk, reconfirgured The Dude to use it. Stopped The Dude, and I CAN delete those files. But whatever is in /Dude wont go away.

Ya sure, I could use another licence and recreate the router, but I'm pig headed and would like to solve this issue.

Any tips out there???

Thanks.

Signed "About to go Ape sh*t"
___________________________
Alain Casault, Eng.
If I helped you, let me know!
 
mkx
Forum Guru
Forum Guru
Posts: 2948
Joined: Thu Mar 03, 2016 10:23 pm

Re: Can't delete Dude files on CHR

Fri Oct 11, 2019 10:46 pm

A thought: with CHR shut down, create a copy of HD image, then start some linux and mount the CHR virtual HD. Find and manually purge the excess files. Then unmount the CHR virtual HD from that linux and start CHR from it. If procedure failed, recover CHR virtual HD from saved backup.
The whole thought is based on assumption that ROS CHR uses ext3 (or some other standard linux) file system on its disk storage. It it's some proprietary mess of bits, then it won't work ...
BR,
Metod
 
User avatar
AlainCasault
Trainer
Trainer
Topic Author
Posts: 609
Joined: Fri Apr 30, 2010 3:25 pm
Location: Laval, QC, Canada
Contact:

Re: Can't delete Dude files on CHR

Sat Oct 12, 2019 8:20 pm

Hello MKX,

Will try and let you know. But it makes sense.

AC
___________________________
Alain Casault, Eng.
If I helped you, let me know!
 
Dude2048
Frequent Visitor
Frequent Visitor
Posts: 90
Joined: Thu Sep 01, 2016 4:04 pm

Re: Can't delete Dude files on CHR

Sat Oct 12, 2019 9:18 pm

Delete dude package, reboot, delete files
 
Kindis
Member Candidate
Member Candidate
Posts: 248
Joined: Tue Nov 01, 2011 6:54 pm

Re: Can't delete Dude files on CHR

Sat Oct 12, 2019 10:53 pm

Just extend the disk to 1GB. During start it will extend the filesystem.
 
User avatar
AlainCasault
Trainer
Trainer
Topic Author
Posts: 609
Joined: Fri Apr 30, 2010 3:25 pm
Location: Laval, QC, Canada
Contact:

Re: Can't delete Dude files on CHR

Sun Oct 13, 2019 12:19 am

Thanks all.

I had deleted the Dude, but to no avail. As I'm not a Hyper-V expert, didn't think of expanding the disk. I tried reinstalling using ISO file, but by then, I had done too much damage.

Just used another P1 license :D

Mounting the Hyper-V disks didn't do much either, but it's something I'll keep in my bucket list to test again later on (using Level 1 licenses!!!)

Thanks again all!!
___________________________
Alain Casault, Eng.
If I helped you, let me know!
 
User avatar
AlainCasault
Trainer
Trainer
Topic Author
Posts: 609
Joined: Fri Apr 30, 2010 3:25 pm
Location: Laval, QC, Canada
Contact:

Re: Can't delete Dude files on CHR

Tue Oct 15, 2019 6:07 pm

Follow up on this issue.

As I didn't have much experience with CHR licenses, I found out how to generate a new one without wasting the old one.

I created a new CHR and used its software ID to generate a temporary P1 license. I then reassigned the old (permanent) P1 license to the temporary one, thus making it permanent.

That with my config export brought the CHR to its previous state, but without the "disk full" issue.

This problem also helped me understand how CHR management works.


Cheers,


Sent from my cell phone. Sorry for the errors.

___________________________
Alain Casault, Eng.
If I helped you, let me know!

Who is online

Users browsing this forum: No registered users and 4 guests