Ticket #327 (closed defect: fixed)

Opened 1 year ago

Last modified 5 months ago

apparently in use by the system; will not make a filesystem here

Reported by: psantacruz Assigned to: bruno
Priority: highest Milestone: 2.2.9
Component: mondo Version: 2.2.8
Severity: normal Keywords:
Cc: xytas@northwest.gr

Description

Hi Friends,
I have a problem in the mondo rescue

The problem is:

/dev/sda1 is apparently in use by the system; will not make a filesystem here

the format the device /dev/sda1 is failed

The problem occurs when you try to format the partition when restoring

Server is Dell PowerEdge? 2950, OS opensuse 10.2

Please Help me

Attachments

mondorestore.log (48.5 kB) - added by psantacruz on 03/09/09 17:38:16.
mondoarchive.log (141.5 kB) - added by psantacruz on 03/09/09 17:42:01.
lsof.txt (43.1 kB) - added by psantacruz on 03/17/09 02:47:42.

Change History

(in reply to: ↑ description ; follow-up: ↓ 4 ) 03/09/09 14:48:49 changed by bruno

Replying to psantacruz:

Please Help me

please provide log files (/var/log/mondoarchive.log at archive time and /var/log/mondorestore.log at restore time)

03/09/09 17:38:16 changed by psantacruz

  • attachment mondorestore.log added.

03/09/09 17:42:01 changed by psantacruz

  • attachment mondoarchive.log added.

03/09/09 17:44:34 changed by psantacruz

the log files are in the attachment

03/09/09 17:49:31 changed by psantacruz

I tried to format partitions manually (/dev/sda1 ext2 or ext3) but I couldnt. Fsck o mkfs messages were "The device is busy, mounted or was opened in exclusive mode".

Thanks.

(in reply to: ↑ 1 ) 03/10/09 17:46:13 changed by psantacruz

Replying to bruno:

Replying to psantacruz:

Please Help me

please provide log files (/var/log/mondoarchive.log at archive time and /var/log/mondorestore.log at restore time)

the log files are in the attachment I tried to format partitions manually (/dev/sda1 ext2 or ext3) but I couldnt. Fsck o mkfs messages were "The device is busy, mounted or was opened in exclusive mode".

Bruno Please I need Your Help

Thanks.

(follow-up: ↓ 6 ) 03/14/09 00:47:11 changed by bruno

  • status changed from new to assigned.

First, you should update to mindi 2.0.6 for safety reasons.

Then, you should not use -H as long as you have not a working environment.

I don't understand why you r device is already used by the system at that point. Did you add stuff to deplist.txt ? do you have additional apps running ?

Could you add lsof to deplist.txt and retry. The use lsof to detect which process uses sda1 ?

03/17/09 02:47:42 changed by psantacruz

  • attachment lsof.txt added.

(in reply to: ↑ 5 ) 03/17/09 02:49:20 changed by psantacruz

Replying to bruno:

First, you should update to mindi 2.0.6 for safety reasons. Then, you should not use -H as long as you have not a working environment. I don't understand why you r device is already used by the system at that point. Did you add stuff to deplist.txt ? do you have additional apps running ? Could you add lsof to deplist.txt and retry. The use lsof to detect which process uses sda1 ?

Bruno This is my lsof result in the restore time help me

03/18/09 13:43:18 changed by bruno

Another thing to check is around the dm configuration. Do you have one ? It seems from your logs that dm devices are created which could avoid sda to be used correctly and formated.

(follow-up: ↓ 10 ) 04/04/09 03:04:25 changed by Doug Luijkx

Hi, we've got a dell 2950 as well. I had the same error trying to run mkfs. Note we have dell external raid storage on the system.

Run this: /sbin/dmsetup status

then remove with: /sbin/dmsetup remove_all

after this, I was able to run mkfs without the error. ...you may have to reconfig the above later... ...Doug.

04/05/09 04:58:38 changed by Doug Luijkx

...sorry forgot to mention the OS above - redhat es 5.2 x64

(in reply to: ↑ 8 ) 05/15/09 18:58:02 changed by tastle73

Replying to Doug Luijkx:

Hi, we've got a dell 2950 as well. I had the same error trying to run mkfs. Note we have dell external raid storage on the system. Run this: /sbin/dmsetup status then remove with: /sbin/dmsetup remove_all after this, I was able to run mkfs without the error. ...you may have to reconfig the above later... ...Doug.

I have Dell T300s and PE 2900s RH 5.3 same problem, same solution

(follow-up: ↓ 12 ) 05/22/09 08:36:55 changed by bruno

Have you tried booting with option nompath ? Cf: http://trac.mondorescue.org/browser/branches/2.2.9/mindi/README.bootparam Does it helps ?

(in reply to: ↑ 11 ) 05/29/09 23:29:25 changed by tastle73

Replying to bruno:

Have you tried booting with option nompath ? Cf: http://trac.mondorescue.org/browser/branches/2.2.9/mindi/README.bootparam Does it helps ?

Yes, thank you that worked!

06/15/09 19:53:40 changed by bruno

Does anyone still have an issue with this one or can I close it now ?

06/24/09 01:36:45 changed by bruno

  • status changed from assigned to closed.
  • resolution set to fixed.

03/17/10 20:01:58 changed by zafeirop

  • cc set to xytas@northwest.gr.

Same situation here!

mindi 2.0.6-1.fc5

mondo 2.2.8-1.fc5

Tried to migrate the ISO image from a DELL R200 (without RAID) to custom build server, Atom 2xDCore with an board RAID Controller and the same message appears when it comes to mk2fs.ext3 or mk2fs.ext2 command.

However, it does not have any problem with swap partitioning located on the same physical disc :|

The dmsetup command saved our lives here, guys!

Thank you!