PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 06:39:04 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Clearing "lost+found" File from USB  (Read 432 times)
moresouth
New Friend
*
Offline Offline

Posts: 3


« on: February 07, 2012, 09:53:26 PM »

Somehow or another I have the aforementioned file locked onto a USB stick and this is stopping me from using it. I was planning to put LXDE 2012 on it and install on a newer netbook I now have.

Unfortunately, this odd ball file seems to be locked in some way. I can't access it to see what it may have lost or found, I can't delete it as I'm unauthorized to do so and overwriting the USB still leaves it there. GParted shows it but won't remove or overwrite it. I can't even get to it as "root". Clicking "Root" in file manager gives me a long list of files on the HDD. The USB is ignored.

I have no idea where it came from or why it's refusing to depart. How can I permanently erase this and get my USB stick back in use?

moresouth
Logged
Old-Polack
Administrator
Hero Member
*****
Online Online

Posts: 9694


----IOFLU----


« Reply #1 on: February 07, 2012, 09:59:51 PM »

Somehow or another I have the aforementioned file locked onto a USB stick and this is stopping me from using it. I was planning to put LXDE 2012 on it and install on a newer netbook I now have.

Unfortunately, this odd ball file seems to be locked in some way. I can't access it to see what it may have lost or found, I can't delete it as I'm unauthorized to do so and overwriting the USB still leaves it there. GParted shows it but won't remove or overwrite it. I can't even get to it as "root". Clicking "Root" in file manager gives me a long list of files on the HDD. The USB is ignored.

I have no idea where it came from or why it's refusing to depart. How can I permanently erase this and get my USB stick back in use?

moresouth

lost+found is a product of formatting the partition. If you want to remove it you have to do that as root, but it hurts nothing being there.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
TerryH
Sr. Member
****
Offline Offline

Posts: 469



« Reply #2 on: February 07, 2012, 10:11:27 PM »

I can't even get to it as "root". Clicking "Root" in file manager gives me a long list of files on the HDD. The USB is ignored.


Clicking "Root" is not doing something as root, it is just accessing the "/ " root partition directory.  You must actually complete the required action as the root user.
Logged

https://linuxcounter.net/cert/542348.png

Aussie, Aussie, Aussie........Eh!,  Eh!,  Eh!
muungwana
Hero Member
*****
Offline Offline

Posts: 5403


« Reply #3 on: February 07, 2012, 10:18:45 PM »

"lost+found" is supposed to be a folder and it is created by ext family file systems when the partition is formatted.

Are you sure it is a file and not a folder?.

Logged

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15190


LXDE! Coffee, Bacon and Cheesecake!


« Reply #4 on: February 08, 2012, 06:07:52 AM »

Somehow or another I have the aforementioned file locked onto a USB stick and this is stopping me from using it. I was planning to put LXDE 2012 on it and install on a newer netbook I now have.

>snip<

moresouth
     
Is the stick formatted as ext4? Reformat it as ext3 and then install LXDE 2012.     
Logged

cyrwyn
Hero Member
*****
Offline Offline

Posts: 775


« Reply #5 on: February 10, 2012, 11:47:58 AM »

Any version of ext filesystem will recreate the lost+found folder when mounted. You can't get rid of it, but it should be an empty folder, taking little space.
Logged

Using Linux for over 18 years and still counting.
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4622


MLUs Forever!


« Reply #6 on: February 10, 2012, 05:47:07 PM »

Any version of ext filesystem will recreate the lost+found folder when mounted. You can't get rid of it, but it should be an empty folder, taking little space.

IIRC, ext2 does not ....  as it has no journalling .... 
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
AS
Global Moderator
Hero Member
*****
Online Online

Posts: 4115

Have a nice ... night!


« Reply #7 on: February 10, 2012, 07:10:44 PM »

Any version of ext filesystem will recreate the lost+found folder when mounted. You can't get rid of it, but it should be an empty folder, taking little space.

IIRC, ext2 does not ....  as it has no journalling .... 

lost+found exists on nearly every *nix filesystem, including ext2, its purpose is to allow the "recover"  "lost files" because of an unclean unmount of a filesystem, when "files are found" from fsck.

The purpose of the journal is different, in that when present the latest write operations (possibly not completed at time of a crash) will be re-applied upon remount of the filesystem, thus decreasing the possibility of inconsistent behavior.


Logged
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4622


MLUs Forever!


« Reply #8 on: February 10, 2012, 07:30:55 PM »

Any version of ext filesystem will recreate the lost+found folder when mounted. You can't get rid of it, but it should be an empty folder, taking little space.

IIRC, ext2 does not ....  as it has no journalling .... 

lost+found exists on nearly every *nix filesystem, including ext2, its purpose is to allow the "recover"  "lost files" because of an unclean unmount of a filesystem, when "files are found" from fsck.

The purpose of the journal is different, in that when present the latest write operations (possibly not completed at time of a crash) will be re-applied upon remount of the filesystem, thus decreasing the possibility of inconsistent behavior.




mis-remembering .....  again .....  Sad  Sad

Thanks for the correction  Wink  and apology to cyrwyn
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Xenaflux
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 3539


« Reply #9 on: February 11, 2012, 07:05:26 AM »

Quote
mis-remembering .....  again .....

I use " Sermion 10mg 2x a day ". It helps a great deal   Grin
Logged

The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4622


MLUs Forever!


« Reply #10 on: February 11, 2012, 07:17:43 AM »

Quote
mis-remembering .....  again .....

I use " Sermion 10mg 2x a day ". It helps a great deal   Grin

do I know you?






Cheesy
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Xenaflux
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 3539


« Reply #11 on: February 11, 2012, 07:46:55 AM »

Quote
do I know you?

We met yesterday on that other page !  Remember ?
Logged

The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4622


MLUs Forever!


« Reply #12 on: February 11, 2012, 07:59:39 AM »

Quote
do I know you?

We met yesterday on that other page !  Remember ?

oh dear .......  what was the name of that stuff again ?
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6869


I will never forget you, uhhh...


« Reply #13 on: February 11, 2012, 08:34:00 AM »

Back on topic ... Wink

As the OP mentioned:
Somehow or another I have the aforementioned file locked onto a USB stick and this is stopping me from using it. I was planning to put LXDE 2012 on it and install on a newer netbook I now have.

I am guessing that the OP is convinced that lost+found is stopping him from using the USB stick. And stopping means what?? Saving files on the USB stick? Running LiveUSB Creator? Mounting the darn blasted thing?
Logged

Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15190


LXDE! Coffee, Bacon and Cheesecake!


« Reply #14 on: February 11, 2012, 08:58:27 AM »

For using PCLinuxOS LiveUSB Creator, ext3 would be the best file system to use. If only saving files is wanted, either ext3 or ext4 could be used.     

lost+found will not prevent the use of the stick. The problem may be one of ownership. Open / in your file manager superuser mode (root mode) and look for your stick's folder. Right click it and check to see if it is owned by root. If it is, change it so that it is owned by you.     
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM