[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Lenny Crashes



will ryder wrote:
I have a SMB/CIF connection to NetApp storage. On the storage space is about 250Gb of files.
When I run the following command to remove the files, in the root of mounted directory, rm -R *
This causes the server to reboot. Today using konqueror when I looked at the properties of a folder, it crashed the server and causing it to reboot.
I'm assuming that you're talking about the mount point of your attached storage.

Typing rm -R * in your root directory is guaranteed to hose your server (and having done that, once, by mistake, thinking I was in another directory, I make a point of using full paths whenever using a rm -R command).

Which leads to a few suggestions:
1. try rm -R /<mount point>/*
2. since this looks like a 1-time event (how often do you wipe an entire server), delete a few directories at a time, until you're done

Miles Fidelman

--
In theory, there is no difference between theory and practice.
In<fnord>  practice, there is.   .... Yogi Berra



Reply to: