Re: [opensuse] unable to mount partition

2008-01-10 Thread David C. Rankin
Sebastian Reitenbach wrote:
> "David C. Rankin" <[EMAIL PROTECTED]> wrote: 
>> Sebastian Reitenbach wrote:
>>> Hi,
>>> "David C. Rankin" <[EMAIL PROTECTED]> wrote: 
 Sebastian Reitenbach wrote:
> Hi,
>
> I am unable to mount a partition, whenever I try I get the following 
>>> error 
> message:
>
> mount /export
> mount: /dev/sdc1 already mounted or /export busy
>
>> Is /export a Windows NTFS formatted file system that you run dual-boot.
>> If so, like was mentioned earlier, your last Windows session did not
>> shut down cleanly and will not mount until you reboot and let XP of God
>> forbid Vista clean up after themselves. If that is the problem, it will
>> mount fine after that.
>>
>> If not, I'm running out of ammo except to look at the partition in a
>> partitioner. All that data is backed up - right?
> 
> as mentioned in another mail, the device mapper made kept sdc1 busy. 
> in /etc/blkid.tab I found these lines:
> 
>  UUID="212b4536-513f-4177-8d91-afc2b26be284" SEC_TYPE="ext2" 
> TYPE="ext3">/dev/sda2
>  UUID="83db89c9-88a7-4c09-8026-01a9bd71c757" SEC_TYPE="ext2" 
> TYPE="ext3">/dev/sdb1
>  UUID="60a371a6-6e24-4a3d-bfe9-d3491f08cd83" SEC_TYPE="ext2" 
> TYPE="ext3">/dev/sdb2
>  UUID="0d8ec0ca-9670-4e87-a37e-aac3914a7651" SEC_TYPE="ext2" 
> TYPE="ext3">/dev/sdb3
>  UUID="cf71aa66-2a51-4596-967b-bc12faec5438" SEC_TYPE="ext2" 
> TYPE="ext3">/dev/sdb5
>  UUID="51bba5c7-acda-4019-94d8-691103f30616" SEC_TYPE="ext2" 
> TYPE="ext3">/dev/sdc1
>  UUID="4e4b8361-0c9f-47c5-ac47-34398148d78e" SEC_TYPE="ext2" 
> TYPE="ext3">/dev/dm-3
> 
> The UUID for /dev/sdc1 and /dev/dm-3 are the same, so I remove the last line 
> and rebooted the system. My hope was that the /dev/mapper/... stuff for the 
> sdc disk will disappear, but that was not the case, the removed line appeare 
> again in the /etc/blkid.tab file, /dev/sdc1 still busy, and I only was able 
> to mount /dev/mapper/
> 
> I wonder why this is not happen to the /dev/sdb* partitions. I haven't 
> configure anything related to that intentionally.  The sdb and sdc are two 
> disks with each 1.7 TB, it is just that sdb is divided into a lot partitions 
> where sdc is just one large partition. I have no idea why it should but 
> maybe it depends somehow on the size of the partition?
> 
> I have the disks connected via SCSI to another 10.2 box, there does 
> the /etc/blkid.tab file not exist, and I can just mount /dev/sdc1 there.
> dm_mod module is loaded on both systems.
> 
> 
> also a rpm -qf /etc/blkid.tab says file /etc/blkid.tab is not owned by any 
> package. 
> 
> So I am still wondering, why this happens to /dev/sdc but not to /dev/sdb, 
> any idea?
> 
> cheers
> Sebastian
> 

It may be a bug similar to the one I encountered with Yast's definition
of the /dev/mapper raid partitions. File a bug report and list the
following as related:

https://bugzilla.novell.com/show_bug.cgi?id=350573



-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-10 Thread David C. Rankin
Carlos E. R. wrote:
> 
> 
> The Thursday 2008-01-10 at 08:46 +0100, Sebastian Reitenbach wrote:
> 
>> "Michael Kershaw" <> wrote:
>>> Could be something as simple as the device-mapper having a file handle
>>> to the partition already.  Don't know if you've fiddled in that area
>>> at all though.
>> I haven't fiddled around with that, at least not intentionally. But
>> this was
>> the missing hint. I found a /dev/mapper/1transtecT5016R_0-part1 that I
>> was
>> able to mount without a problem.
> 
> But why? Why was that dev mapper thing there?  :-?
> 
> I heard of this problem another time, and we couldn't track it.
> 

The /dev/mapper thing is the result of a bios raid install. Yast
creates those things to map multiple disk to a single partition in raid.

-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-10 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Thursday 2008-01-10 at 12:11 +0100, Sebastian Reitenbach wrote:


also a rpm -qf /etc/blkid.tab says file /etc/blkid.tab is not owned by any
package.


And the command "apropos blkid.tab" yields nothing, so it is not 
documented :-(


Nothing in '/usr/src/linux/Documentation' either.

Ah, some mentions in /usr/share/doc/packages/e2fsprogs/, in the release 
notes and libblkid.txt


I think you found a bug; try reporting it to bugzilla.

- -- 
Cheers,

   Carlos E. R.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHhg4JtTMYHG2NR9URAm7qAJ90Ggrd0Y3FuiN+k9lE3fYBiMQB9gCgj6Wz
5/d1+w8j73ebwyjMn36YnHg=
=quCX
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-10 Thread Sebastian Reitenbach
"David C. Rankin" <[EMAIL PROTECTED]> wrote: 
> Sebastian Reitenbach wrote:
> > Hi,
> > "David C. Rankin" <[EMAIL PROTECTED]> wrote: 
> >> Sebastian Reitenbach wrote:
> >>> Hi,
> >>>
> >>> I am unable to mount a partition, whenever I try I get the following 
> > error 
> >>> message:
> >>>
> >>> mount /export
> >>> mount: /dev/sdc1 already mounted or /export busy
> >>>
> 
> Is /export a Windows NTFS formatted file system that you run dual-boot.
> If so, like was mentioned earlier, your last Windows session did not
> shut down cleanly and will not mount until you reboot and let XP of God
> forbid Vista clean up after themselves. If that is the problem, it will
> mount fine after that.
> 
> If not, I'm running out of ammo except to look at the partition in a
> partitioner. All that data is backed up - right?

as mentioned in another mail, the device mapper made kept sdc1 busy. 
in /etc/blkid.tab I found these lines:

/dev/sda2
/dev/sdb1
/dev/sdb2
/dev/sdb3
/dev/sdb5
/dev/sdc1
/dev/dm-3

The UUID for /dev/sdc1 and /dev/dm-3 are the same, so I remove the last line 
and rebooted the system. My hope was that the /dev/mapper/... stuff for the 
sdc disk will disappear, but that was not the case, the removed line appeare 
again in the /etc/blkid.tab file, /dev/sdc1 still busy, and I only was able 
to mount /dev/mapper/

I wonder why this is not happen to the /dev/sdb* partitions. I haven't 
configure anything related to that intentionally.  The sdb and sdc are two 
disks with each 1.7 TB, it is just that sdb is divided into a lot partitions 
where sdc is just one large partition. I have no idea why it should but 
maybe it depends somehow on the size of the partition?

I have the disks connected via SCSI to another 10.2 box, there does 
the /etc/blkid.tab file not exist, and I can just mount /dev/sdc1 there.
dm_mod module is loaded on both systems.


also a rpm -qf /etc/blkid.tab says file /etc/blkid.tab is not owned by any 
package. 

So I am still wondering, why this happens to /dev/sdc but not to /dev/sdb, 
any idea?

cheers
Sebastian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-10 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Thursday 2008-01-10 at 08:46 +0100, Sebastian Reitenbach wrote:


"Michael Kershaw" <> wrote:

Could be something as simple as the device-mapper having a file handle
to the partition already.  Don't know if you've fiddled in that area
at all though.

I haven't fiddled around with that, at least not intentionally. But this was
the missing hint. I found a /dev/mapper/1transtecT5016R_0-part1 that I was
able to mount without a problem.


But why? Why was that dev mapper thing there?  :-?

I heard of this problem another time, and we couldn't track it.


(Note: your mail program breaks threading)

- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHhfwCtTMYHG2NR9URAo0wAJ9USgJTYl9ju22VNRKsHXH/ApHC0wCgjwOX
5OY1/PGxOfOR9l+rb/WhR/g=
=EJbh
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-10 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Thursday 2008-01-10 at 14:44 +1100, Basil Chupin wrote:

This device wouldn't be a partition created in Windows and be formatted with 
Windows?


If it is then boot into Windows and then SAFELY REMOVE it using Windows. It 
seems that if you just unplug the device without 'removing' it a flag (on the 
device) remains set and Linux assumes that it is already mounted (or 
something like this :-) ).


That's a different thing.

Partitions will always be seen by linux. However, linux will refuse to 
mount read/write an ntfs partition not properly closed by windows and will 
open it read only.


That is not what is hapening here...

- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHhfsLtTMYHG2NR9URAhp4AJoCyEQ+EF83gLfU65KxwPuOKiFqbgCgk0ia
TQKEh/awiolamMwR8lipTK0=
=ygdj
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread David C. Rankin
Sebastian Reitenbach wrote:
> Hi,
> "David C. Rankin" <[EMAIL PROTECTED]> wrote: 
>> Sebastian Reitenbach wrote:
>>> Hi,
>>>
>>> I am unable to mount a partition, whenever I try I get the following 
> error 
>>> message:
>>>
>>> mount /export
>>> mount: /dev/sdc1 already mounted or /export busy
>>>

Is /export a Windows NTFS formatted file system that you run dual-boot.
If so, like was mentioned earlier, your last Windows session did not
shut down cleanly and will not mount until you reboot and let XP of God
forbid Vista clean up after themselves. If that is the problem, it will
mount fine after that.

If not, I'm running out of ammo except to look at the partition in a
partitioner. All that data is backed up - right?

-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread Sebastian Reitenbach
"Michael Kershaw" <[EMAIL PROTECTED]> wrote: 
> Could be something as simple as the device-mapper having a file handle
> to the partition already.  Don't know if you've fiddled in that area
> at all though.
I haven't fiddled around with that, at least not intentionally. But this was 
the missing hint. I found a /dev/mapper/1transtecT5016R_0-part1 that I was 
able to mount without a problem. 

> 
> Just a thought!

Thanks a lot for that hint.

Sebastian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread Sebastian Reitenbach
Hi,
"David C. Rankin" <[EMAIL PROTECTED]> wrote: 
> Sebastian Reitenbach wrote:
> > Hi,
> > 
> > I am unable to mount a partition, whenever I try I get the following 
error 
> > message:
> > 
> > mount /export
> > mount: /dev/sdc1 already mounted or /export busy
> > 
> > lsof /export does not list anything, /dev/sdc1 is not listed 
in /etc/mtab 
> > nor in /proc/mounts, so I wonder how the system gets this idea?
> > 
> > There is also nothing showing up in messages or dmesg. 
> > I also disabled the nfsserver and rebooted the system, but with the same 
> > effect, unable to mount.
> > When I try to fsck the filesystem, I get the followign error:
> > fsck.ext3 /dev/sdc1
> > e2fsck 1.40.2 (12-Jul-2007)
> > fsck.ext3: Device or resource busy while trying to open /dev/sdc1
> > Filesystem mounted or opened exclusively by another program?
> > 
> > 
> > I'm on opensuse 10.3, x86_64. Any idea whats going on here?
> > 
> > cheers
> > Sebastian
> > 
> 
> Just for grins have you tried
> 
> unmount /export
> or
> unmount /dev/sdc1
umount /export
umount: /export: not mounted
umount /dev/sdc1
umount: /dev/sdc1: not mounted

> 
> Also what does df show.
df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda2 66152884  57688624   5103864  92% /
udev   1027156   380   1026776   1% /dev

no unusual output, no sdc1 mounted.

Sebastian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread Basil Chupin

Sebastian Reitenbach wrote:

Hi,

I am unable to mount a partition, whenever I try I get the following error 
message:


mount /export
mount: /dev/sdc1 already mounted or /export busy

lsof /export does not list anything, /dev/sdc1 is not listed in /etc/mtab 
nor in /proc/mounts, so I wonder how the system gets this idea?


There is also nothing showing up in messages or dmesg. 
I also disabled the nfsserver and rebooted the system, but with the same 
effect, unable to mount.

When I try to fsck the filesystem, I get the followign error:
fsck.ext3 /dev/sdc1
e2fsck 1.40.2 (12-Jul-2007)
fsck.ext3: Device or resource busy while trying to open /dev/sdc1
Filesystem mounted or opened exclusively by another program?


I'm on opensuse 10.3, x86_64. Any idea whats going on here?

cheers
Sebastian


This device wouldn't be a partition created in Windows and be formatted 
with Windows?


If it is then boot into Windows and then SAFELY REMOVE it using Windows. 
It seems that if you just unplug the device without 'removing' it a flag 
(on the device) remains set and Linux assumes that it is already mounted 
(or something like this :-) ).


(If it isn't a Win formatted device but formatted with Linux then it 
wouldn't hurt to still try the above method to 'unmount' it (plug it in 
and then use My Computer on the desktop to Safely Remove it) - you never 
know..)


Ciao.

--
Past experience, if not forgotten, is a guide for the future.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

* David C. Rankin <[EMAIL PROTECTED]> [01-09-08 21:15]:
> Patrick Shanahan wrote:
> > * David C. Rankin <[EMAIL PROTECTED]> [01-09-08 16:23]:
> >> Just for grins have you tried
> > 
> >> unmount /export
> >> or
> >> unmount /dev/sdc1
> > 
> > the grins may not help, unmount \= umount  :^)
> > 
> 
> Damn dyslexia...

I always blame it on "Brown Bottle Flu"  ":^)

- -- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFHhYnkClSjbQz1U5oRAtXZAJ0UeY7wuNl1LBMUIkFpuLCZWCT1DQCdH97U
We9/sCpBQI3GrGdKqcyqveI=
=Uw1t
-END PGP SIGNATURE-
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread David C. Rankin
Patrick Shanahan wrote:
> * David C. Rankin <[EMAIL PROTECTED]> [01-09-08 16:23]:
>> Just for grins have you tried
> 
>> unmount /export
>> or
>> unmount /dev/sdc1
> 
> the grins may not help, unmount \= umount  :^)
> 

Damn dyslexia...

-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread Michael Kershaw
Could be something as simple as the device-mapper having a file handle
to the partition already.  Don't know if you've fiddled in that area
at all though.

Just a thought!



On Jan 9, 2008 12:42 PM, Sebastian Reitenbach
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am unable to mount a partition, whenever I try I get the following error
> message:
>
> mount /export
> mount: /dev/sdc1 already mounted or /export busy
>
> lsof /export does not list anything, /dev/sdc1 is not listed in /etc/mtab
> nor in /proc/mounts, so I wonder how the system gets this idea?
>
> There is also nothing showing up in messages or dmesg.
> I also disabled the nfsserver and rebooted the system, but with the same
> effect, unable to mount.
> When I try to fsck the filesystem, I get the followign error:
> fsck.ext3 /dev/sdc1
> e2fsck 1.40.2 (12-Jul-2007)
> fsck.ext3: Device or resource busy while trying to open /dev/sdc1
> Filesystem mounted or opened exclusively by another program?
>
>
> I'm on opensuse 10.3, x86_64. Any idea whats going on here?
>
> cheers
> Sebastian
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

* David C. Rankin <[EMAIL PROTECTED]> [01-09-08 16:23]:
> Just for grins have you tried
> 
> unmount /export
> or
> unmount /dev/sdc1

the grins may not help, unmount \= umount  :^)

- -- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFHhUdiClSjbQz1U5oRAg5dAJ9EMek6LfJ/7HrPgwbqSdJuuDBtwQCeP2rV
qBtBnZ4vS0epIc25LdaatkI=
=gWYD
-END PGP SIGNATURE-
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] unable to mount partition

2008-01-09 Thread David C. Rankin
Sebastian Reitenbach wrote:
> Hi,
> 
> I am unable to mount a partition, whenever I try I get the following error 
> message:
> 
> mount /export
> mount: /dev/sdc1 already mounted or /export busy
> 
> lsof /export does not list anything, /dev/sdc1 is not listed in /etc/mtab 
> nor in /proc/mounts, so I wonder how the system gets this idea?
> 
> There is also nothing showing up in messages or dmesg. 
> I also disabled the nfsserver and rebooted the system, but with the same 
> effect, unable to mount.
> When I try to fsck the filesystem, I get the followign error:
> fsck.ext3 /dev/sdc1
> e2fsck 1.40.2 (12-Jul-2007)
> fsck.ext3: Device or resource busy while trying to open /dev/sdc1
> Filesystem mounted or opened exclusively by another program?
> 
> 
> I'm on opensuse 10.3, x86_64. Any idea whats going on here?
> 
> cheers
> Sebastian
> 

Just for grins have you tried

unmount /export
or
unmount /dev/sdc1

Also what does df show.

-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] unable to mount partition

2008-01-09 Thread Sebastian Reitenbach
Hi,

I am unable to mount a partition, whenever I try I get the following error 
message:

mount /export
mount: /dev/sdc1 already mounted or /export busy

lsof /export does not list anything, /dev/sdc1 is not listed in /etc/mtab 
nor in /proc/mounts, so I wonder how the system gets this idea?

There is also nothing showing up in messages or dmesg. 
I also disabled the nfsserver and rebooted the system, but with the same 
effect, unable to mount.
When I try to fsck the filesystem, I get the followign error:
fsck.ext3 /dev/sdc1
e2fsck 1.40.2 (12-Jul-2007)
fsck.ext3: Device or resource busy while trying to open /dev/sdc1
Filesystem mounted or opened exclusively by another program?


I'm on opensuse 10.3, x86_64. Any idea whats going on here?

cheers
Sebastian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]