mkdir lost+found

 
Eva Carrasco Gonzalez
Occasional Advisor

mkdir lost+found

He probado ha hacer un mkdir lost+found y tambien se soluiciona el errn 2
11 REPLIES 11
Jeff Schussele
Honored Contributor

Re: mkdir lost+found

Hi Eva,

Use the following command in the directory needed:

mklost+found

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Eva Carrasco Gonzalez
Occasional Advisor

Re: mkdir lost+found

si pero mkdir lost+found tambien me ha solucionado el problema. ¿que diferencia ha
Geoff Wild
Honored Contributor

Re: mkdir lost+found

Try:

mklost+found

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Robert-Jan Goossens
Honored Contributor

Re: mkdir lost+found

Massimo Bianchi
Honored Contributor

Re: mkdir lost+found

Hi Eva, sorry but i do not clearly understand spanish, so i'm guessing..


lost+found must exists on the lvol, for each mounted volume.

It is used to keep information when using fsck, and for holding some misterious data when doing fsadm with the onlineJFS.

mkdir lost+found

drwxr-xr-x 2 root root 96 Jul 28 2000 lost+found


Todd McDaniel_1
Honored Contributor

Re: mkdir lost+found

I think Eva is asking waht is the difference b/t:

Mkdir lost+found and mklost+found...

For us non-spanish speaking folks go to....http://ets.freetranslation.com/ free translations to spanish


Eva,

El diffference entre mkdir perdió + encontró y mklost + encontró es que el primer sólo hace una guía... la segunda orden hace una guía especial que permite lo ser montada como un filesystem.

Eva, usted puede ir a este sitio web al traslate su mensaje al inglés.. http://ets.freetranslation.com/ O sitio web de www.google.com de uso para buscar para el español a la tradu
Unix, the other white meat.
Todd McDaniel_1
Honored Contributor

Re: mkdir lost+found

strange characters in the cut and paste...

zero points aqui por favor...
Unix, the other white meat.
Robert-Jan Goossens
Honored Contributor

Re: mkdir lost+found

Hi Eva,

Check the script in /usr/sbin.

# more /usr/sbin/mklost+found
#! /usr/bin/sh
# HPUX_ID: @(#) $Revision: 72.1 $

mkdir lost+found
cd lost+found
echo creating slots...
for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f
do
tee ${i}1 ${i}2 ${i}3 ${i}4 ${i}5 ${i}6 ${i}7 ${i}8 < /dev/null
tee ${i}9 ${i}a ${i}b ${i}c ${i}d ${i}e ${i}f ${i}0 < /dev/null
done
echo removing dummy files...
for i in 1 2 3 4 5 6 7 8 9 0 a b c d e f
do
rm ${i}1 ${i}2 ${i}3 ${i}4 ${i}5 ${i}6 ${i}7 ${i}8
rm ${i}9 ${i}a ${i}b ${i}c ${i}d ${i}e ${i}f ${i}0
done
cd ..
echo done
ls -ld `pwd`/lost+found

Hope it helps,
Robert-Jan
John Meissner
Esteemed Contributor

Re: mkdir lost+found

I created this script to not only replace missing lost and found directories... but this script is put on all the servers I want to monitor. Then the script it scheduled in cron to run daily. The script fixes any lost_found directories and ftp's the results to a central server. This server has a second script that runs and gathers all the info together and mails a group of people. This is the first script that runs on all the servers.
All paths lead to destiny