Lost+Found is not available


 
Thread Tools Search this Thread
Operating Systems AIX Lost+Found is not available
# 1  
Old 06-30-2005
Error Lost+Found is not available

Hi,

I have a AIX 4.3.3 running on IBM pseries server.
I have some jfs filesystems running on it.
I dont see Lost+Found directory in them.
Can anybody guide me why it is not available.

Cheers,
Vinod..
# 2  
Old 06-30-2005
Maybe there was a small glitch in mkfs (that happens sometimes) or you have acidentally (with a mass-removal) deleted it.

'mkdir lost+found'

and the problem is solved.

bakunin
# 3  
Old 06-30-2005
That is not enough to make a lost+found directory that can safely be used by fsck on a damaged filesystem. man mklost+found
# 4  
Old 07-04-2005
Perderabo, you're correct. It worked for me until now the way i have decribed it, though. Who knows, maybe it only seemed to work.

bakunin
# 5  
Old 07-04-2005
You won't know until fsck attempts to connect some files there. And even if that works, it may have been dangerous. The issue is available space in the directory. If there is room for another {name, inode} pair, there is no problem. mklost+found expands the directory and since directories do not shrink, it stays expanded. Most versions of fsck discard the file if there is no room.

I heard a rumor that some recent bsd fsck versions will expand the lost+found directory if needed. If that's true, I hope that it builds a list of these unconnected inodes and waits until after the free list has been rebuilt. Allocating a block from a garbled free list is not wise. And I assume it must give up if the free list is empty.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

lost+found

Hi, What is lost+found in linux ? Cheers, snj (2 Replies)
Discussion started by: snjksh
2 Replies

2. Red Hat

How to recover data from lost+found

Hi All, I am facing a problem of filesystem corruption,where i am trying to recover data with fsck -f <device name> ,now it restore the corrupted data in lost+found directory.Please let me know how to recover the data from lost+found directory. Thanks, Shailesh (1 Reply)
Discussion started by: sbapotikar
1 Replies

3. Shell Programming and Scripting

Lost+found

I need to try and sort 125gb of lost+found files and directories that look like from testing the files are good in some areas. Does anyone know of a script using strings, file, find, etc. to help sort something like this........can't find it on google. thks:confused: (1 Reply)
Discussion started by: morrish
1 Replies

4. UNIX for Advanced & Expert Users

lost+found

Does anyone have or know of a script to help sort and display a large lost+found directory? i've googled this but not much help solaris 9 thanks (3 Replies)
Discussion started by: morrish
3 Replies

5. UNIX for Dummies Questions & Answers

Files in Lost+Found

Hi, upon reboot of our test solaris 9 box, I was prompted to run fsck on one of the filesystems (/var). This resulted in placing all the files in the lost+found directory. I have no backup. What are my options to place the files back to /var (from lost+found, is it possible?). Appreciate any... (1 Reply)
Discussion started by: spricks
1 Replies

6. Solaris

Deleted Lost+Found directory

If you delete your lost & found directory, how do you get it back, just do a mkdir? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

7. UNIX for Advanced & Expert Users

what is lost+found dir?

hi all, just wanted to know what is lost+found dir for? tnx (1 Reply)
Discussion started by: bok
1 Replies

8. UNIX for Dummies Questions & Answers

lost+found directory

what is the directory "lost+found" and how is it used? (2 Replies)
Discussion started by: Ben070371
2 Replies

9. UNIX for Advanced & Expert Users

lost+found

Hi all I am using SOLARIS 8 on Sun enterpris3000 server. Last night i got a file system corrupted adn some inconsistancy in the file system were shown when i run fsck -o p option. Then i tried to fix it with fsck -F ufs -y /dev/md/rdsk/d1 option as i have given all yes response i cd not able to... (4 Replies)
Discussion started by: Prafulla
4 Replies

10. UNIX for Dummies Questions & Answers

Lost+found

Hi all, after a crash of our SUN Server 220R on file system was corrupt and I had run fsck getting a lost of files/dir's in the lost+found of the file system loking like drwxrwxr-x 2 lmxadmin DOS---- 512 Oct 31 21:04 #0007680 drwxrwxr-x 2 lammer DOS---- 512 Jan 29 09:29... (6 Replies)
Discussion started by: DPAI
6 Replies
Login or Register to Ask a Question