[expert] ls
Using ls in konsole or XTerm, I sometimes get the following message :- ls: .: stale NFS file handle Can someone tell me what this means? Charlie -- The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. Marcel Proust This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1Beta Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
On Sat, 2003-07-19 at 16:03, charlie wrote: > Using ls in konsole or XTerm, I sometimes get the following message :- > > ls: .: stale NFS file handle > > Can someone tell me what this means? > > Charlie AFAIK it's actually saying that an NFS mount is trying to find a file that has been moved or removed on the distant end and no longer viable. If you don't use NFS removing the rpms for it would probably prevent it from re-occuring. If you do, sounds like one of your mounts is getting changed by another user and affecting you. I did notice that around 2.4.19 they were working on this in the kernel... Here is a link to some of that info. http://www.mail-archive.com/[EMAIL PROTECTED]/msg02521.html James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
On Sun, 20 Jul 2003 02:38 pm, James Sparenberg had this to contribute :- > On Sat, 2003-07-19 at 16:03, charlie wrote: > > Using ls in konsole or XTerm, I sometimes get the following message :- > > > > ls: .: stale NFS file handle > > > > Can someone tell me what this means? > > > > Charlie > > AFAIK it's actually saying that an NFS mount is trying to find a file > that has been moved or removed on the distant end and no longer viable. > If you don't use NFS removing the rpms for it would probably prevent it > from re-occuring. If you do, sounds like one of your mounts is getting > changed by another user and affecting you. I did notice that around > 2.4.19 they were working on this in the kernel... Here is a link to > some of that info. > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02521.html > > James Thanks James, but NFS is not installed and just in case I checked the system, but no NFS rpm's either. -- Andrea: Unhappy the land that has no heroes. Galileo: No, unhappy the land that _needs heroes. -- Bertolt Brecht, "Life of Galileo" This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1Beta Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
On Sun, 2003-07-20 at 00:48, charlie wrote: > On Sun, 20 Jul 2003 02:38 pm, James Sparenberg had this to contribute :- > > On Sat, 2003-07-19 at 16:03, charlie wrote: > > > Using ls in konsole or XTerm, I sometimes get the following message :- > > > > > > ls: .: stale NFS file handle > > > > > > Can someone tell me what this means? > > > > > > Charlie > > > > AFAIK it's actually saying that an NFS mount is trying to find a file > > that has been moved or removed on the distant end and no longer viable. > > If you don't use NFS removing the rpms for it would probably prevent it > > from re-occuring. If you do, sounds like one of your mounts is getting > > changed by another user and affecting you. I did notice that around > > 2.4.19 they were working on this in the kernel... Here is a link to > > some of that info. > > > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02521.html > > > > James > > Thanks James, but NFS is not installed and just in case I checked the system, > but no NFS rpm's either. H every time I've seen this it's been related to NFS ... AFS or some similar product. What kernel do you run? James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
The . tell you the current directory. The stale NFS handle sys that the directory (nfs mounted) is no longer valid. If the file server you are mounting the directory from has a faulty network card this would cause this to happen every now and then. I have found that onboard ethernet cards are not very good (a $10.00 card is better than the onboard). If you do a df you will also see the file system reported as stale there as well. To correct a Stale NFS handle in Linux will require a reboot. Under Solaris an umount -f will remove the faulty NFS mount, I have found this does not work in Linux. Mike On Sun, 2003-07-20 at 12:58, James Sparenberg wrote: > On Sun, 2003-07-20 at 00:48, charlie wrote: > > On Sun, 20 Jul 2003 02:38 pm, James Sparenberg had this to contribute :- > > > On Sat, 2003-07-19 at 16:03, charlie wrote: > > > > Using ls in konsole or XTerm, I sometimes get the following message :- > > > > > > > > ls: .: stale NFS file handle > > > > > > > > Can someone tell me what this means? > > > > > > > > Charlie > > > > > > AFAIK it's actually saying that an NFS mount is trying to find a file > > > that has been moved or removed on the distant end and no longer viable. > > > If you don't use NFS removing the rpms for it would probably prevent it > > > from re-occuring. If you do, sounds like one of your mounts is getting > > > changed by another user and affecting you. I did notice that around > > > 2.4.19 they were working on this in the kernel... Here is a link to > > > some of that info. > > > > > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02521.html > > > > > > James > > > > Thanks James, but NFS is not installed and just in case I checked the system, > > but no NFS rpm's either. > > H every time I've seen this it's been related to NFS ... AFS or some > similar product. What kernel do you run? > > James > > > > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- Michael Noble mailto: [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 charlie wanted us to know: >> > ls: .: stale NFS file handle >> > Can someone tell me what this means? >> AFAIK it's actually saying that an NFS mount is trying to find a file >> that has been moved or removed on the distant end and no longer viable. >Thanks James, but NFS is not installed and just in case I checked the system, >but no NFS rpm's either. You're in a directory on the cdrom, for example in /mnt/cdrom. If you give it the path instead of the (implied) "." then it will work properly. cd /mnt/cdrom ls (results in error message) cd /root ls /mnt/cdrom (will work) - -- Blue skies... Todd | Get a bigger hammer! | Normal? Normal is a setting on | | http://www.mrball.net | my dryer. | | http://faq.mrball.net | BayCon 2001 http://www.baycon.org | Linux kernel 2.4.19-24mdk 4 users, load average: 0.05, 0.03, 0.00 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: http://www.mrball.net/todd.asc iD8DBQE/G3AUIBT1264ScBURAnsWAKCorSdtrXkbHgMZp82A8GmI/WijggCgu2Ix qvC6E/QKNvdH2vzAsKkvMjs= =/95C -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
On Mon, 21 Jul 2003 05:58 am, James Sparenberg had this to contribute :- > On Sun, 2003-07-20 at 00:48, charlie wrote: > > On Sun, 20 Jul 2003 02:38 pm, James Sparenberg had this to contribute :- > > > > > On Sat, 2003-07-19 at 16:03, charlie wrote: > > > > Using ls in konsole or XTerm, I sometimes get the following message > > > > :- > > > > > > > > ls: .: stale NFS file handle > > > > > > > > Can someone tell me what this means? > > > > > > > > Charlie > > > > > > AFAIK it's actually saying that an NFS mount is trying to find a file > > > that has been moved or removed on the distant end and no longer viable. > > > If you don't use NFS removing the rpms for it would probably prevent it > > > from re-occuring. If you do, sounds like one of your mounts is getting > > > changed by another user and affecting you. I did notice that around > > > 2.4.19 they were working on this in the kernel... Here is a link to > > > some of that info. > > > > > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02521.html > > > > > > James > > > > Thanks James, but NFS is not installed and just in case I checked the > > system, but no NFS rpm's either. > > H every time I've seen this it's been related to NFS ... AFS or some > similar product. What kernel do you run? > > James 2.4.21-0.13mdk It doesn't happen often, and has only happened in the last couple of weeks, 3 times. It's not a real problem, just curiosity. But that is a point, I have a couple of kernels in my home directory, and a 30 second delay in boot to select whichever I want to boot into. But if I'm making a cup of coffee while the machine boots, it just goes straight into the the one above. So I will have to take note of which kernel is being used when it happens. I was earlier on tonight building a second kernel on a Slackware partition and know that I disabled NFS, but if I was tired building a new kernel, I might have left it in. Now I know what to look for, I will do so. I checked one already, it does not have NFS support of any kind enabled. Or any other than the DOS, ext2 and ext3 file systems. All the others disabled. Thanks, Charlie. -- Andrea: Unhappy the land that has no heroes. Galileo: No, unhappy the land that _needs heroes. -- Bertolt Brecht, "Life of Galileo" This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1Beta Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
I know this may not be an immediate answer, but has anybody actually "googled" this thing? http://www.google.com/search?q=intext%3A%22stale+NFS+file+handle%22&sourceid=mozilla-search&start=0&start=0 (link may be wrapped) Check it out - it does not look like being related to NFS all the time ... among other things ... Stef On Monday 21 July 2003 09:28 am, charlie wrote: > stale NFS file handle Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
On Tue, 2003-07-22 at 04:41, stefmit wrote: > I know this may not be an immediate answer, but has anybody actually "googled" > this thing? > > http://www.google.com/search?q=intext%3A%22stale+NFS+file+handle%22&sourceid=mozilla-search&start=0&start=0 > (link may be wrapped) > > Check it out - it does not look like being related to NFS all the time ... > among other things ... > > Stef I did... that's where I was seeing NFS AFS etc time after time. http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=ls%3A+.%3A+stale+NFS+file+handle&btnG=Google+Search is my link. James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls
On Mon, 21 Jul 2003 02:46 pm, Todd Lyons had this to contribute :- > >> > ls: .: stale NFS file handle >You're in a directory on the cdrom, for example in /mnt/cdrom. If you >give it the path instead of the (implied) "." then it will work >properly. Thanks James, Michael and Todd, I will be more observant when it happens again, and have archived your suggestions. Thank you, Charlie. -- Deep in their roots, All flowers keep the light. Theodore Roethke This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1Beta Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] LS 120 MB-drive
hi, have got a LS 120 MB-drive, and would like to integrate it into my mdk-system for linux as well as for handle msdos-formats (read-write) how can I do that, or - where can I find some docs about ? thanks for helping bye hans Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] LS-120 HowTo somewhere?
Hi there! Having just bought and installed a LS-120 ATAPI floppy drive, I wonder if anyone knows a good one-stop ressource about handling it in Linux? I already visited www.1stlinuxsearch.com but found nothing particular useful. Ideas? Thanks tom -- "The perversity of the Universe tends towards a maximum." (Finagle's Law) Thomas 'Tom' Berger, [EMAIL PROTECTED] No UCE. No spam. 'nuff said.
[expert] LS-120 bootdisk resolved
Well, I finally got this to work, with a couple of changes to mkbootdisk. 1. Since there is no partition table on a LS-120 by default, mke2fs complains about using the entire disk. It asks for confirmation, which the script doesn't give it. Hence, the hang. I worked around it by doing the mke2fs manually and commenting out that part of the script (I suppose in the final version, a 'y' could be echoed in the script and redirected so that mke2fs would see it?) 2. The key thing to getting LILO to work was adding the line 'disk=/dev/hdb bios=0' to the lilo.conf file mkbootdisk creates. Thanks to the folks at www.linuxrouter.org for this tip! Axalon, what do you think the best way to resolve this is?
[expert] ls all dir and subdir?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, Can ls list all directories and their subdirectories, something like DOS' dir/s command? Thanks. - -- Fajar http://linux.arinet.org Linux mdk91.sistek.kom 2.4.21-0.13mdk GNU/Linux 15:40:41 up 8:12, 10 users, load average: 0.64, 0.53, 0.37 Quote of the day: Win98 is called Win98 because there is a 98% probability that it will crash during installation -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/qglVMai9kCFqACoRAivzAKCrOhgDpLfft6FHK1PBAVmoVInT1ACeLgT9 0QsbG7/dJq27TEhBlxGWo5M= =3HIq -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] LS-120 HowTo somewhere?
> Having just bought and installed a LS-120 ATAPI floppy drive, I wonder if > anyone knows a good one-stop ressource about handling it in Linux? I > already visited www.1stlinuxsearch.com but found nothing particular > useful. The LS will be identified at boot as hd? (? = appropriate letter code depending on the number of hard drives and cdroms). Check dmesg for the right hd?. Add an entry to your /etc/fstab for your LS 120. Create the directory for the mount point you listed in /etc/fstab for the LS120. Be sure to insert the disk before you mount it, and umount the disk before you attempt to eject the disk. Steve
Re: [expert] LS-120 HowTo somewhere?
Try www.linuxrouter.org, they mention LS-120 somewhere and it has been extensively discussed on their mailing list (archived on the web). But basically the kernel should detect it as /dev/hd(whatever letter), and use it like an ordinary hard disk. To boot on it, you need to have support in your bios, or a special adapter card. Jean-Michel Dault [EMAIL PROTECTED] On Tue, 6 Apr 1999, Tom Berger wrote: > Date: Tue, 6 Apr 1999 18:52:51 +0200 > From: Tom Berger <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [expert] LS-120 HowTo somewhere? > > Hi there! > Having just bought and installed a LS-120 ATAPI floppy drive, I wonder if > anyone knows a good one-stop ressource about handling it in Linux? I > already visited www.1stlinuxsearch.com but found nothing particular > useful. > > Ideas? > > Thanks > > tom > > > -- > "The perversity of the Universe tends towards a maximum." (Finagle's Law) > Thomas 'Tom' Berger, [EMAIL PROTECTED] No UCE. No spam. 'nuff said. >
Re: [expert] LS-120 HowTo somewhere?
I put mine in, and treated just like an ide hard drive; ie I mounted it with 'mount -t vfat /dev/hdd /mnt/ls120' (== slave on secondry ide controller, in my case), and there it was, no further magic required! Let me know if you find any more interesting ways to use it ... Tom Berger wrote: > > Hi there! > Having just bought and installed a LS-120 ATAPI floppy drive, I wonder if > anyone knows a good one-stop ressource about handling it in Linux? I > already visited www.1stlinuxsearch.com but found nothing particular > useful. > > Ideas? > > Thanks > > tom > > -- > "The perversity of the Universe tends towards a maximum." (Finagle's Law) > Thomas 'Tom' Berger, [EMAIL PROTECTED] No UCE. No spam. 'nuff said.
Re: [expert] LS-120 HowTo somewhere?
On Die, 06 Apr 1999, you wrote: / Am Die, 06 Apr 1999 schrieben Sie: > Try www.linuxrouter.org, they mention LS-120 somewhere and it has been > extensively discussed on their mailing list (archived on the web). > Thanks a lot, that's really a valuable resource!! (http://www.linuxrouter.org/floppy.shtml) [snip] > Jean-Michel Dault > [EMAIL PROTECTED] > [snip] tom -- "DES encryption is painfully slow. On the other hand, XOR is terribly weak." (from man losetup) Thomas 'Tom' Berger, [EMAIL PROTECTED] No UCE. No spam. 'nuff said.
Re: [expert] ls all dir and subdir?
On Thu, 6 Nov 2003, Fajar Priyanto wrote: > Can ls list all directories and their subdirectories, something like DOS' > dir/s command? Of course it can; option "-R" is your friend. (Better yet, try "man ls" or "ls --help" to get detailed help.) Ad astra, -- Dipl.-Inf. Markus Ueberall Johann Wolfgang Goethe-Universität Tel: (069)798-28361 Fax: -23340Institut für Informatik / Telematik Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls all dir and subdir?
> Hello all, > Can ls list all directories and their subdirectories, something like DOS' > dir/s command? # ls -R or # ls -lhR for viewing sizes of files/dirs "R" means "recursive" so it lists all dirs and their subdirs "h" - human-readable sizes, e.g. 10K, 1.5M "l" - full list (permissions, sizes etc.) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls all dir and subdir?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 06 November 2003 03:53 pm, Artemio wrote: > # ls -lhR > for viewing sizes of files/dirs > > "R" means "recursive" so it lists all dirs and their subdirs > "h" - human-readable sizes, e.g. 10K, 1.5M > "l" - full list (permissions, sizes etc.) Thanks guys, Actually, I'm trying to see how the file structure of my server is. Or is there any better way to know it? - -- Fajar http://linux.arinet.org Linux mdk91.sistek.kom 2.4.21-0.13mdk GNU/Linux 17:55:10 up 10:26, 10 users, load average: 1.00, 0.70, 0.66 Quote of the day: Win98 errors 019-999: Reserved for future use; presently used only to occupy 49.3 MB diskspace. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/qijYMai9kCFqACoRAiVxAKC6/pVR+6W51LYOSwGtJ1p0X0Yc6ACgqOpw KbZvLxiEmltuOolfIDl4nSQ= =NTlq -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] ls all dir and subdir?
du will list directories (man du for more info) mc will give you Midnight Commander - a menu driven file management tool HTH >-Original Message- >From: Fajar Priyanto [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 06, 2003 5:56 AM >To: [EMAIL PROTECTED] >Subject: Re: [expert] ls all dir and subdir? > > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >On Thursday 06 November 2003 03:53 pm, Artemio wrote: >> # ls -lhR >> for viewing sizes of files/dirs >> >> "R" means "recursive" so it lists all dirs and their subdirs "h" - >> human-readable sizes, e.g. 10K, 1.5M "l" - full list (permissions, >> sizes etc.) > >Thanks guys, >Actually, I'm trying to see how the file structure of my >server is. Or is >there any better way to know it? > >- -- __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls all dir and subdir?
On Thursday 06 November 2003 05:56 am, Fajar Priyanto wrote: > On Thursday 06 November 2003 03:53 pm, Artemio wrote: > > # ls -lhR > > for viewing sizes of files/dirs > > > > "R" means "recursive" so it lists all dirs and their subdirs > > "h" - human-readable sizes, e.g. 10K, 1.5M > > "l" - full list (permissions, sizes etc.) > > Thanks guys, > Actually, I'm trying to see how the file structure of my server is. Or is > there any better way to know it? you might want to look into the tree package, I think it is what you want. It may not be installed by default, so you might have to 'urpmi tree' -- /g "Outside of a dog, a man's best friend is a book, inside a dog it's too dark to read" -Groucho Marx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ls all dir and subdir?
On Thu, 6 Nov 2003, Fajar Priyanto wrote: > Actually, I'm trying to see how the file structure of my server is. Or is > there any better way to know it? Install the "tree" RPM (which provides the tree console app), it's ideal for this; it's recursive by default. For a directories-only listing: tree -d [dir] To include hidden files, as well as regular files: tree -A [dir] HTH! -- Bill Mullen [EMAIL PROTECTED] MA, USA RLU #270075 MDK 8.1 & 9.0 "Microsoft has a new version out, Windows XP, which according to every- body is the 'most reliable Windows ever.' To me, this is like saying that asparagus is 'the most articulate vegetable ever.'" -- Dave Barry Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com