Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

working directory

0 views
Skip to first unread message

jackassplus

unread,
Oct 22, 2009, 10:00:26 AM10/22/09
to
I have a process that I started while in /mnt/usb (though the data
isn't in that directory). I can't unmount the volume. Is there a way
to move the working directory of the process to another directory?

It's a mysql instance that I expect to run for the next week or so
chewing on a huge dataset. I'd rather not kill the process. I don't
mind stopping it for a short period of time (^Z) if that will help.

The Natural Philosopher

unread,
Oct 22, 2009, 10:47:24 AM10/22/09
to

Oh dear.

I suspect you are cattled.

I know of no way personally.

Perhaps someone else does.

Nico Kadel-Garcia

unread,
Oct 23, 2009, 5:42:52 PM10/23/09
to
On Oct 22, 10:47 am, The Natural Philosopher <t...@invalid.invalid>
wrote:

You're cattled. You might try to plug in another USB device and rsync
or 'cp -a' the contents of your first device to the second device,
then remove that.

Doug Freyburger

unread,
Oct 23, 2009, 6:28:33 PM10/23/09
to
The Natural Philosopher wrote:
> jackassplus wrote:
>
>> I have a process that I started while in /mnt/usb (though the data
>> isn't in that directory). I can't unmount the volume. Is there a way
>> to move the working directory of the process to another directory?
>
>> It's a mysql instance that I expect to run for the next week or so
>> chewing on a huge dataset. I'd rather not kill the process. I don't
>> mind stopping it for a short period of time (^Z) if that will help.
>
> Oh dear.
>
> I suspect you are cattled.

Yup.

Is it a cheap USB stick? Get another, pop it in, use cpio or tar to
copy the contents of the stuck one, remove the new one. The same
process works for an expensive drive but costs more dollars.

Wanna-Be Sys Admin

unread,
Oct 29, 2009, 2:54:22 PM10/29/09
to
The Natural Philosopher wrote:

The OP stated they didn't need the data on the mounted directory, so
everyone's mention that they are screwed until they copy data is
probably not correct. Anyway, if a forced umount doesn't do the trick,
as others have mentioned, you need to put in a new USB stick and then
umount it. Then restart MySQL.
--
Not really a wanna-be, but I don't know everything.

0 new messages