Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#327 closed defect (fixed)

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

Reported by: Pedro Owned by: Bruno Cornec
Priority: highest Milestone: 2.2.9
Component: mondo Version: 2.2.8
Severity: normal Keywords:
Cc: xytas@…

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 (3)

mondorestore.log (48.5 KB ) - added by Pedro 15 years ago.
mondoarchive.log (141.5 KB ) - added by Pedro 15 years ago.
lsof.txt (43.1 KB ) - added by Pedro 15 years ago.

Download all attachments as: .zip

Change History (18)

in reply to:  description ; comment:1 by Bruno Cornec, 15 years ago

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)

by Pedro, 15 years ago

Attachment: mondorestore.log added

by Pedro, 15 years ago

Attachment: mondoarchive.log added

comment:2 by Pedro, 15 years ago

the log files are in the attachment

comment:3 by Pedro, 15 years ago

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 comment:4 by Pedro, 15 years ago

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.

comment:5 by Bruno Cornec, 15 years ago

Status: newassigned

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 ?

by Pedro, 15 years ago

Attachment: lsof.txt added

in reply to:  5 comment:6 by Pedro, 15 years ago

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

comment:7 by Bruno Cornec, 15 years ago

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.

comment:8 by Doug Luijkx, 15 years ago

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.

comment:9 by Doug Luijkx, 15 years ago

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

in reply to:  8 comment:10 by tastle73, 15 years ago

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

comment:11 by Bruno Cornec, 15 years ago

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 comment:12 by tastle73, 15 years ago

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!

comment:13 by Bruno Cornec, 15 years ago

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

comment:14 by Bruno Cornec, 15 years ago

Resolution: fixed
Status: assignedclosed

comment:15 by Anastasios Zafeiropoulos, 14 years ago

Cc: xytas@… added

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!

Note: See TracTickets for help on using tickets.