Re: [ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Barry Drake
On Mon, 2010-10-11 at 17:50 +0100, Liam Proven wrote:
> I'd just make sure the drives in the caddy had distinctive labels on
> all their partitions, myself! :¬)

They do have!!  And the problem still occurs.  I'm booting from the SATA
drive partition that appears as /dev/sdb1, and for some weird reason,
automount then tries to mount the partition that is on /dev/sda at '/'
where the boot filesystem (at /dev/sdb1) is already mounted    makes
no sense at all to me, and I know the problem would not be there if I
booted from the IDE drive in the caddy.  Still, Glen's solution works OK
for me.  

The saga began when my wife's computer died and I gave her the one I
mentioned.  I put a caddy in so I could swap between her old IDE drive,
and a storage drive that I could also swap with my computers. Eventually
when I know she no longer needs to access her old drive, I'll swap it
for a SATA caddy  but in the meantime, it's doing what I need it to
to do.

Regards,Barry Drake.
-- 
Sent from my Dell Netbook using Ubuntu - the window-free environment
that gives me real fresh air.


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Liam Proven
On 11 October 2010 14:55, Glen Mehn  wrote:
> On 11/10/10 14:49, Barry Drake wrote:
>> You should be able to have it mount by putting in fstab:
>>> /dev/hdb1    /path/to/mountpoint     defaults    0    0
>> Thanks - that works OK!  I now have /dev/sda1 /media/HD3  ntfs  0 0 in
>> fstab, and it works just fine with any ntfs drive.  I ought to have
>> thought of that instead of using the UUID.  I just wonder why automount
>> tries to mount using /dev/sdb1 when it is there all the time
>> as /dev/sda1?  Windows doesn't make that mistake - if that is what it
>> is.
> Hi Barry,
>
> Glad that helps. I would guess that the Automounter is having trouble
> with 2 drives on one IDE channel.

That shouldn't be the case. I have 2 IDE hard disks on my primary IDE
channel & 2 DVD burners on my secondary, with no issues. Most of my
PCs have had multiple drives - some up to 6 HDs + 3 CDs - and I do not
have any PCs with SATA.

> It should be /dev/hdb1 (the DVD drive
> should be /dev/hda) You should remember, too, that if you have 2 devices
> working simultaneously on one IDE controller will result in
> significantly degraded performance (essentially, the controller can only
> use one device at a time).

Not the case since about 1995 with the appearance of Intel's 82430
"Triton" chipset for the original Pentium. Since that appeared, almost
everything (apart from one or 2 really rubbish SIS chipsets, for
instance) has supported busmastering on IDE, which means overlapped
IO, as I understand it. The 82430HX and 82430VX chipset's PIIX2
controller allowed 2 different IDE devices on a single channel to
operate at different speeds, as well, so one can be (say) PIO4 and one
UDMA2, without conflict.

> The automounter's really more set up for hot-swappable drives. Another
> solution might be to use IDE=>USB cases, but it sounds like you're
> sorted. Glad so.

I'd just make sure the drives in the caddy had distinctive labels on
all their partitions, myself! :¬)

-- 
Liam Proven • Info & profile: http://www.google.com/profiles/lproven
Email: lpro...@cix.co.uk • GMail/GoogleTalk/Orkut: lpro...@gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AIM/Yahoo/Skype: liamproven • MSN: lpro...@hotmail.com • ICQ: 73187508

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Glen Mehn
On 11/10/10 14:49, Barry Drake wrote:
> You should be able to have it mount by putting in fstab:
>> /dev/hdb1/path/to/mountpoint defaults00
> Thanks - that works OK!  I now have /dev/sda1 /media/HD3  ntfs  0 0 in
> fstab, and it works just fine with any ntfs drive.  I ought to have
> thought of that instead of using the UUID.  I just wonder why automount
> tries to mount using /dev/sdb1 when it is there all the time
> as /dev/sda1?  Windows doesn't make that mistake - if that is what it
> is.
Hi Barry,

Glad that helps. I would guess that the Automounter is having trouble 
with 2 drives on one IDE channel. It should be /dev/hdb1 (the DVD drive 
should be /dev/hda) You should remember, too, that if you have 2 devices 
working simultaneously on one IDE controller will result in 
significantly degraded performance (essentially, the controller can only 
use one device at a time).

The automounter's really more set up for hot-swappable drives. Another 
solution might be to use IDE=>USB cases, but it sounds like you're 
sorted. Glad so.

-g

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Tyler J. Wagner
On Mon, 2010-10-11 at 11:27 +0100, Barry Drake wrote:
> Ubuntu 10.10 finds all the drives OK but refuses to mount the IDE hard
> drive saying it already has a drive mounted at the same mount point.

Ubuntu mounts removable drives (really, any not in /etc/fstab)
in /media/LABEL. LABEL is either the filesystem label, the word "disk",
or UUID.

I'm guessing that the problem is that one of your other drives is
mounting on /media/disk and your IDE drive wants the same location.
Ubuntu usually tries to mount on /media/disk-1 in such a case, but I
don't have enough information to be sure.

However, what you might try doing is giving the filesystem on the IDE
drive a new label. How to do it depends on the filesystem. For ext2/3/4
and FAT, the commands are:

sudo tune2fs -L newlabel /dev/sdb1
sudo dosfslabel /dev/sdb1 newlabel

Once it has a different label, it should auto-mount on another
directory.

Tyler

--
"... that your voice is amplified to the degree where it reaches from
one end of the country to the other does not confer upon you greater
wisdom or understanding than you possessed when your voice reached only
from one end of the bar to the other."
   -- Edward R. Murrow


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Glen Mehn


On 11/10/10 11:56, Barry Drake wrote:
> On Mon, 2010-10-11 at 11:38 +0100, Jacob Mansfield wrote:
>> IDE is not hot-swapable. you need sata
> I don't intend hot-swapping.  I shut down, change the caddy and re-boot.
> It has to be IDE for compatibility with what I have already.
>
>
-- Does Ubuntu see the IDE DVDR properly (/dev/hda?)
-- What happens in Ubuntu when you do sfdisk -s /dev/hdb (or whatever 
the IDE hard drive comes up as)

You should be able to have it mount by putting in fstab:

/dev/hdb1/path/to/mountpoint defaults00

the old school way

Obviously, it needs to be the right /dev path. And this assumes that the 
filesystems are always the same. (you have to replace  with 
ext4/vfat/ntfs/whatever)

Glen

-- 
Glen Mehn
glen.m...@oba.co.uk
skype: glenmehn | blog: http://glen.mehn.net/mba
UK: +44(0)7942 675 755 | US: +1 415 704 4737


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Barry Drake
On Mon, 2010-10-11 at 11:38 +0100, Jacob Mansfield wrote:
> IDE is not hot-swapable. you need sata

I don't intend hot-swapping.  I shut down, change the caddy and re-boot.
It has to be IDE for compatibility with what I have already.

Kind regards,   Barry Drake.
-- 
Sent from my Dell Netbook using Ubuntu - the window-free environment
that gives me real fresh air.


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Jacob Mansfield
IDE is not hot-swapable. you need sata
Jacob Mansfield
Programmer



On 11 October 2010 11:27, Barry Drake  wrote:

> Here's an interesting one for you.  I have a PC with a motherboard that
> has 6xSATA ports and one IDE port.  I've put two SATA drives in plus an
> IDE DVD-R drive and an IDE drive caddy (as slave and master) so I can
> swap storage drives between three desktop pcs.
>
> One of the SATA drives is Windows 2000.  When I boot this, it finds and
> mounts all drives with no problem.
>
> Ubuntu 10.10 finds all the drives OK but refuses to mount the IDE hard
> drive saying it already has a drive mounted at the same mount point.
> The only way I can mount the IDE drive is to put a line in /etc/fstab
> that tells it to mount UUID=[UUID of the drive I'm going to use].  This
> allows it to work just fine, but is a bit of a pain, as I have to
> edit /etc/fstab before I re-boot with a different drive.  If it finds
> the wrong drive, ubuntu hangs during the boot when it tries to mount the
> drive that has gone!
>
> Currently I have all the drives I want to swap (four in number)
> in /etc/fstab so I comment out the ones that aren't there.
>
> Any thoughts?
>
> Regards,Barry Drake.
> --
> Sent from my Dell Netbook using Ubuntu - the window-free environment
> that gives me real fresh air.
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] IDE drive mounting ....

2010-10-11 Thread Barry Drake
Here's an interesting one for you.  I have a PC with a motherboard that
has 6xSATA ports and one IDE port.  I've put two SATA drives in plus an
IDE DVD-R drive and an IDE drive caddy (as slave and master) so I can
swap storage drives between three desktop pcs.

One of the SATA drives is Windows 2000.  When I boot this, it finds and
mounts all drives with no problem.

Ubuntu 10.10 finds all the drives OK but refuses to mount the IDE hard
drive saying it already has a drive mounted at the same mount point.
The only way I can mount the IDE drive is to put a line in /etc/fstab
that tells it to mount UUID=[UUID of the drive I'm going to use].  This
allows it to work just fine, but is a bit of a pain, as I have to
edit /etc/fstab before I re-boot with a different drive.  If it finds
the wrong drive, ubuntu hangs during the boot when it tries to mount the
drive that has gone!

Currently I have all the drives I want to swap (four in number)
in /etc/fstab so I comment out the ones that aren't there.

Any thoughts?

Regards,Barry Drake.
-- 
Sent from my Dell Netbook using Ubuntu - the window-free environment
that gives me real fresh air.


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/