- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- deleted lost+found directory. How to recreate?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 07:41 AM
10-28-2002 07:41 AM
Thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 07:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 07:44 AM
10-28-2002 07:44 AM
Re: deleted lost+found directory. How to recreate?
Nothing differnt asl it has to owned by root , thoguh even if it owned by the user it doesnt mater bcoz at this is used if there are any errors in the filesystem when the OS runs a fsck when the system is coming up so you are good to go , jsut ensure that this direcoty is there in the mountpoint.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 07:45 AM
10-28-2002 07:45 AM
Re: deleted lost+found directory. How to recreate?
Just do
cp -R /home/lost+found /?
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 07:48 AM
10-28-2002 07:48 AM
Re: deleted lost+found directory. How to recreate?
it's an unnecessary, unless otherwise system make fsck at boot time. Make sure it exist in /
It cab be craeted using touch lost+found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 10:53 AM
10-28-2002 10:53 AM
Re: deleted lost+found directory. How to recreate?
fsck will fix this problem by assigning a temporary name consisting of the inode number with a # character in front. That way, you can investigate the nature of the file or directory and perhaps figure out what the original file/directory's name might have been.
fsck is very good at solving corruption problems so most files/directories in lost+found are temporary files or directories which were in a state of flux during the system halt. It is a good idea to scan all mountpoints as the system boots to see that:
1. the directory still exists, and
2. it is empty. If there is something in the directory, send an email to sysadmin support so the contents can be investigated.
Some suggestions for investigating:
file lost+found/*
The file command will decode the type of file (well, 'guess' the type of file). If it is a directory, you list the contents:
ll lost+found/\#12345
NOTE: The # character is a comment for the shell so escape it with a backslash.
Bill Hassell, sysadmin