Message I recieved from a work colleage.... Wonder if anyone can help the guy? --------FORWARDED MESSAGE---------------------- I finally ditched my freebsd and put centos on my box. Trouble is I can''t figure out how to get it to automount my USB and firewire (ipod) bits. Any ideas? Googling has left me a bit frustrated. No one seems to be able to do it. I have a /etc/fstab that mounts the usb key, but nothing else. Everything I find says /dev/sda1 is the dev for both USB and Firewire, But I doubt it. --------FORWARDED MESSAGE---------------------- I use USB Flash Device (they always come up /dev/sda1) I don''t use Firewire .. .so I''m useless... anyone got any ideas? Cheers, Matt.
On Mon, 2005-03-07 at 00:36 +1100, Matt Bottrell wrote:> Message I recieved from a work colleage.... > Wonder if anyone can help the guy? > > --------FORWARDED MESSAGE---------------------- > I finally ditched my freebsd and put centos on my box. Trouble is I > can''t figure out how to get it to automount my USB and firewire (ipod) > bits. Any ideas? Googling has left me a bit frustrated. No one > seems to be able to do it. I have a /etc/fstab that mounts the usb > key, but nothing else. Everything I find says /dev/sda1 is the dev > for both USB and Firewire, But I doubt it. > --------FORWARDED MESSAGE---------------------- > > I use USB Flash Device (they always come up /dev/sda1) > > I don''t use Firewire .. .so I''m useless... anyone got any ideas? > > Cheers, > > Matt.Look in /var/log/messages or do "dmesg | more" after bootup or attaching the devices... The other devices should be /dev/sda2, /dev/sdb1, etc. you should also be able to do "cat /proc/scsi/scsi" do see recognized devices and if you got into /proc/scsi and look around, you can get more info about and devices that are there using cat. They might get automounted into /media .... -- Johnny Hughes <http://www.HughesJR.com/> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.caosity.org/pipermail/centos/attachments/20050306/b1436b65/attachment-0001.bin
FireWire... no idea USB ->I had a similar problem using an USB stick Make sure that you can see it : /sbin/lsusb Then, mkdir /mnt/usb (or /mnt/media) up to you mount -t vfat /dev/sda /mnt/usb -> should work :-) The USB stick needs to be recognized as "vfat" (most of the the time coming from a Windows Machine) Perhaps the iPod works as the same way.... I did hear some people having trouble on "sda1", and got no error messages with "sda" Let''s try with the iPod :-) Stephane -----Original Message----- From: centos-bounces@caosity.org [mailto:centos-bounces@caosity.org]On Behalf Of Johnny Hughes Sent: 06 March 2005 14:08 To: CentOS Users Subject: Re: [Centos] Firewire, USB + CentOS On Mon, 2005-03-07 at 00:36 +1100, Matt Bottrell wrote:> Message I recieved from a work colleage.... > Wonder if anyone can help the guy? > > --------FORWARDED MESSAGE---------------------- > I finally ditched my freebsd and put centos on my box. Trouble is I > can''t figure out how to get it to automount my USB and firewire (ipod) > bits. Any ideas? Googling has left me a bit frustrated. No one > seems to be able to do it. I have a /etc/fstab that mounts the usb > key, but nothing else. Everything I find says /dev/sda1 is the dev > for both USB and Firewire, But I doubt it. > --------FORWARDED MESSAGE---------------------- > > I use USB Flash Device (they always come up /dev/sda1) > > I don''t use Firewire .. .so I''m useless... anyone got any ideas? > > Cheers, > > Matt.Look in /var/log/messages or do "dmesg | more" after bootup or attaching the devices... The other devices should be /dev/sda2, /dev/sdb1, etc. you should also be able to do "cat /proc/scsi/scsi" do see recognized devices and if you got into /proc/scsi and look around, you can get more info about and devices that are there using cat. They might get automounted into /media .... -- Johnny Hughes <http://www.HughesJR.com/>
On Sun, 2005-03-06 at 09:18, Stephane Magnier wrote:> The USB stick needs to be recognized as "vfat" (most of the the time coming > from a Windows Machine) > Perhaps the iPod works as the same way.... > > I did hear some people having trouble on "sda1", and got no error messages > with "sda" > > Let''s try with the iPod :-)Please post any results to the list. I''d like to know if it is possible to set up a RAID1 mirror between an internal IDE and and an identical drive in a external USB/Firewire and have the RAID recognized at boot time. (I''m using FC1 now and have to rebuild the raid manually after a reboot). I''d also like to be able to break the RAID and access the external drive via USB on another machine. Since the centos4 release notes mention USB hard drives not working, I haven''t tried this yet. Does the same limitation apply to firewire? -- Les Mikesell les@futuresource.com
Further to my initial post.. The user informs me he was using CentOS 3.3... I''ll be giving in CentOS 4.x tomorrow.... he wants to use that anyway. ;) Let''s see how he fares... On Sun, 06 Mar 2005 14:10:44 -0600, Les Mikesell <lesmikesell@gmail.com> wrote:> On Sun, 2005-03-06 at 09:18, Stephane Magnier wrote: > > > The USB stick needs to be recognized as "vfat" (most of the the time coming > > from a Windows Machine) > > Perhaps the iPod works as the same way.... > > > > I did hear some people having trouble on "sda1", and got no error messages > > with "sda" > > > > Let''s try with the iPod :-) > > Please post any results to the list. I''d like to know if it is > possible to set up a RAID1 mirror between an internal IDE and > and an identical drive in a external USB/Firewire and have > the RAID recognized at boot time. (I''m using FC1 now and > have to rebuild the raid manually after a reboot). I''d also > like to be able to break the RAID and access the external drive > via USB on another machine. Since the centos4 release notes > mention USB hard drives not working, I haven''t tried this > yet. Does the same limitation apply to firewire? > > -- > Les Mikesell > les@futuresource.com > > > _______________________________________________ > CentOS mailing list > CentOS@caosity.org > http://lists.caosity.org/mailman/listinfo/centos >
On Sun, 2005-03-06 at 15:18 +0000, Stephane Magnier wrote:> FireWire... no idea > > USB ->I had a similar problem using an USB stick > Make sure that you can see it : /sbin/lsusb > Then, > mkdir /mnt/usb (or /mnt/media) up to you > mount -t vfat /dev/sda /mnt/usb -> should work :-)Adding option "noatime" is advised to save wear-and-tear on the bits in your key (only good for a finite number of cycles). Don''t have a CentOS 4 box at hand, but on my FC3 machine the following shows up automagically in fstab after plugging in my key: /dev/sda /media/PHIL_S_KEY vfat \ pamconsole,exec,noauto,iocharset=utf8,noatime,sync,managed 0 0 CentOS 4 should act similarly. Phil
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A quick workaround - incase it still is not working for you - mount as a ~ loop device sudo mount -o loop /dev/sda1 /media/flash John Phil Schaffner wrote: | On Sun, 2005-03-06 at 15:18 +0000, Stephane Magnier wrote: | |>FireWire... no idea |> |>USB ->I had a similar problem using an USB stick |>Make sure that you can see it : /sbin/lsusb |>Then, |>mkdir /mnt/usb (or /mnt/media) up to you |>mount -t vfat /dev/sda /mnt/usb -> should work :-) | | | Adding option "noatime" is advised to save wear-and-tear on the bits in | your key (only good for a finite number of cycles). Don''t have a CentOS | 4 box at hand, but on my FC3 machine the following shows up | automagically in fstab after plugging in my key: | | /dev/sda /media/PHIL_S_KEY vfat \ | pamconsole,exec,noauto,iocharset=utf8,noatime,sync,managed 0 0 | | CentOS 4 should act similarly. | | Phil | | | _______________________________________________ | CentOS mailing list | CentOS@caosity.org | http://lists.caosity.org/mailman/listinfo/centos -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCNYMmHgDLUzVQ7OARAnNrAKDM+nAVzrw6c089wxUOjnr7Y5GQoQCg2BtY zn0NfxVHP9eGTxiLZwkIyDg=q3hN -----END PGP SIGNATURE----- ****************************************************************************** The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Please note that emails to, from and within RT? may be subject to the Freedom of Information Act 1997 and may be liable to disclosure. ****************************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: johnm.vcf Type: text/x-vcard Size: 243 bytes Desc: not available Url : http://lists.caosity.org/pipermail/centos/attachments/20050314/48ee911b/johnm.vcf