Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   killer question (http://www.linux-archive.org/ubuntu-user/280277-killer-question.html)

Richard Gliebe 11-14-2009 04:58 AM

killer question
 
Hi all,

is there a way to kill following process which is locking our tape device?

root@yxz:~# ps -ef | grep -i nst0
root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
root 10059 10045 0 06:47 pts/1 00:00:00 grep -i nst0

root@yxz:~# kill -9 430

root@yxz:~# ps -ef | grep -i nst0
root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
root 10061 10045 0 06:47 pts/1 00:00:00 grep -i nst0

I have already turned off/on the tape library, without luck.

Also, I can't reboot the Server (24x7)

We are running Ubuntu 6.06.2 LTS - 2.6.15-51-server

Thanks in advance
Richard

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

meandmine 11-14-2009 08:15 AM

killer question
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Gliebe wrote:
> Hi all,
>
> is there a way to kill following process which is locking our tape device?
>
> root@yxz:~# ps -ef | grep -i nst0
> root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
> root 10059 10045 0 06:47 pts/1 00:00:00 grep -i nst0
>
> root@yxz:~# kill -9 430
>
> root@yxz:~# ps -ef | grep -i nst0
> root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
> root 10061 10045 0 06:47 pts/1 00:00:00 grep -i nst0
>
> I have already turned off/on the tape library, without luck.
>
> Also, I can't reboot the Server (24x7)
>
> We are running Ubuntu 6.06.2 LTS - 2.6.15-51-server
>
> Thanks in advance
> Richard
>
Just a thought, have you had a power outage during a backup, recently?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSv51QqSvjvL7s/z0AQLkxwgAvy6IX1+wJ/3nDvX2mzPBimq3k2Y7jQKA
rbop8ncNtCETkLWZvY7+A53TDWK8d/s64ZJioWEZ0SeZq80fddXN60mkcUPnCKML
SCTYD4h7XKRDEUKHHC0xO3EMmLDdwhg8xWjl3vOVZf4Z6p5YHU urgfxl1TQ64z1V
p4nDN3eUEDSHCKQTUA22hWulfF1U4ChvR4GnB17K7z7NQnSxjD ixDdRPd2I0gsi0
WVr6aI3464Gk82teYLXPQ5s1gXjZmyzxCMbJpAIx4NiIdyuHRU EobWFQtQVd2DRu
lYWFwENJNdCkZis4PrpUwQ4WUFotevDX704PAiiOqny6NAQrZS WR4g==
=iyoH
-----END PGP SIGNATURE-----

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Richard Gliebe 11-14-2009 08:25 AM

killer question
 
On 11/14/09 10:15 AM meandmine wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Richard Gliebe wrote:
>> Hi all,
>>
>> is there a way to kill following process which is locking our tape device?
>>
>> root@yxz:~# ps -ef | grep -i nst0
>> root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
>> root 10059 10045 0 06:47 pts/1 00:00:00 grep -i nst0
>>
>> root@yxz:~# kill -9 430
>>
>> root@yxz:~# ps -ef | grep -i nst0
>> root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
>> root 10061 10045 0 06:47 pts/1 00:00:00 grep -i nst0
>>
>> I have already turned off/on the tape library, without luck.
>>
>> Also, I can't reboot the Server (24x7)
>>
>> We are running Ubuntu 6.06.2 LTS - 2.6.15-51-server
>>
>> Thanks in advance
>> Richard
>>
> Just a thought, have you had a power outage during a backup, recently?

No, nothing like that. everything works and worked normal.

> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEVAwUBSv51QqSvjvL7s/z0AQLkxwgAvy6IX1+wJ/3nDvX2mzPBimq3k2Y7jQKA
> rbop8ncNtCETkLWZvY7+A53TDWK8d/s64ZJioWEZ0SeZq80fddXN60mkcUPnCKML
> SCTYD4h7XKRDEUKHHC0xO3EMmLDdwhg8xWjl3vOVZf4Z6p5YHU urgfxl1TQ64z1V
> p4nDN3eUEDSHCKQTUA22hWulfF1U4ChvR4GnB17K7z7NQnSxjD ixDdRPd2I0gsi0
> WVr6aI3464Gk82teYLXPQ5s1gXjZmyzxCMbJpAIx4NiIdyuHRU EobWFQtQVd2DRu
> lYWFwENJNdCkZis4PrpUwQ4WUFotevDX704PAiiOqny6NAQrZS WR4g==
> =iyoH
> -----END PGP SIGNATURE-----
>

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Mark Traceur 11-14-2009 09:12 AM

killer question
 
kill -KILL 430?


--

Microsoft does half the work that Open Source developers do, and they
get all the money. Where's the justice there?

Different backgrounds for my 4 virtual desktop spaces? -
http://www.reddit.com/r/linux/comments/a43nf/different_backgrounds_for_my_4_virtual_desktop/

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Richard Gliebe 11-14-2009 09:44 AM

killer question
 
On 11/14/09 11:12 AM Mark Traceur wrote:
> kill -KILL 430?

same situation.

root@xyz:~# ps -ef | grep -i nst0
root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
root 12064 12050 0 11:42 pts/1 00:00:00 grep -i nst0

root@xyz:~# kill -KILL 430

root@xyz:~# ps -ef | grep -i nst0
root 430 1 0 Nov13 ? 00:00:00 mt -f /dev/nst0 erase
root 12066 12050 0 11:42 pts/1 00:00:00 grep -i nst0

Richard

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Mark Traceur 11-14-2009 03:58 PM

killer question
 
>> kill -KILL 430?
>
> same situation.

Hm. Well, worth a shot. My general strategy at this point would be to
restart, but you probably can't do that with the server, huh? (ah,
yes, the original post said that)

Sorry, mate, wish I could help ya!

--

Microsoft does half the work that Open Source developers do, and they
get all the money. Where's the justice there?

Another simple suggestion from a netbook user. -
http://www.reddit.com/r/linux/comments/a40ny/another_simple_suggestion_from_a_netbook_user/

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Richard Gliebe 11-14-2009 04:31 PM

killer question
 
On 11/14/09 5:58 PM Mark Traceur wrote:
>>> kill -KILL 430?
>> same situation.
>
> Hm. Well, worth a shot. My general strategy at this point would be to
> restart, but you probably can't do that with the server, huh? (ah,
> yes, the original post said that)
>
> Sorry, mate, wish I could help ya!
>

is there a way to send a scsi bus reset to the tape device on ubuntu?

I've done this sometimes on old TRU64unix Versions with "scu"

Richard

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Richard Gliebe 11-15-2009 05:16 AM

killer question
 
On 11/14/09 6:31 PM Richard Gliebe wrote:
> On 11/14/09 5:58 PM Mark Traceur wrote:
>>>> kill -KILL 430?
>>> same situation.
>> Hm. Well, worth a shot. My general strategy at this point would be to
>> restart, but you probably can't do that with the server, huh? (ah,
>> yes, the original post said that)
>>
>> Sorry, mate, wish I could help ya!
>>
>
> is there a way to send a scsi bus reset to the tape device on ubuntu?
>
> I've done this sometimes on old TRU64unix Versions with "scu"
>
> Richard
>

Hi All,

he process has gone away by himself.

All Backups are running as they should ;-)

Regards
Richard

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Mark Traceur 11-15-2009 05:18 AM

killer question
 
> Hi All,
>
> he process has gone away by himself.
>
> All Backups are running as they should ;-)
>

Ohhh, Linux, this is why we love you--sometimes you don't work, but
after a while you remember that you probably should be working and get
around to it.

--

Microsoft does half the work that Open Source developers do, and they
get all the money. Where's the justice there?

What are you favorite terminal applications? -
http://www.reddit.com/r/linux/comments/a4d8r/what_are_you_favorite_terminal_applications/

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

meandmine 11-15-2009 07:09 AM

killer question
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Traceur wrote:
>> Hi All,
>>
>> he process has gone away by himself.
>>
>> All Backups are running as they should ;-)
>>
>
> Ohhh, Linux, this is why we love you--sometimes you don't work, but
> after a while you remember that you probably should be working and get
> around to it.
>
It still sounds, to me like an interrupted backup.

Just my 0.02 worth.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSv+3MKSvjvL7s/z0AQKEJggApw/Oisv3CjM4hJWLthlBTBKMPInAAbjU
v4+h5EIcjRa4zgRligqFU5nl56wwcw/MW1ynsM6XbCgtXiftdXmijcestpDhkjr7
liagbYdGOwj+MVIc0dVJCuY+dYfIrZhJAc5Bj6uwz/i6f9V7mmOG9cXxyfDz86t4
gf7BpsdS6X2MKRZa6ctqJlZi541XVtKOTJUcjaPmYFTwCADN3A AaNy/TCDRfWyVA
VJdvcr8w4f5uCArxXKxP1HiW2nB21NlLlfLc0pETXZxlcAXNqU +YRdxY2HHcw+IP
vqPDEb5G/rPzIlxlOi7pGF0Emx9jfkx4FwrSuz1x2rsuQzMYk/Usww==
=Y7cL
-----END PGP SIGNATURE-----

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 03:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.