[ltp] 2nd HD
John Shane
linux-thinkpad@linux-thinkpad.org
Mon, 20 Aug 2007 15:37:47 +0200
On Sun, 19 Aug 2007 14:50:59 -0700
Dan Sawyer <dansawyer@earthlink.net> wrote:
> John,
>
> I don't know about hotswap. What distro are you running? Where did
> you get hotswap? Where are the sources?
>
> I will give it a try.
>
> - Dan
One further note, from Jonathan Yavner's page,
http://home.comcast.net/~jyavner/T23/ he has this note that got me
thinking in the first place: "Problem: Ejecting drive from UltraBay
causes system crash. Fix: Install debian package "hotswap", which is
then accessed via menu "Applications ⇒ Debian ⇒ Apps ⇒ System ⇒
xhotswap" or via line-mode command "hotswap". Grump: The hotswap
program complains about a missing file /etc/hotswaprc. The minimum
contents for that file are "<hotswap></hotswap>". Grump: The hotswap
command does not turn off power to the UltraBay. For that, use "echo
eject >/proc/acpi/ibm/bay". "
>
> John Shane wrote:
> > On Sat, 18 Aug 2007 13:34:27 -0700
> > Dan Sawyer <dansawyer@earthlink.net> wrote:
> >
> >
> >> John,
> >>
> >> I have a similar disk on a T41; did you ever get hot swap to
> >> work?
> >>
> >> Thanks,
> >>
> >> - Dan
> >>
> >
> > Hi Dan, I hadn't tried until you asked. I recently installed the
> > hotswap software though so I gave it a shot. Command line,
> > xhotswap and khotswap all work for me. I tried removing an
> > installed DVD and replaced it with a HD. Worked fine. Was able
> > to mount the drive and work with files. Then I removed the HD and
> > replaced it with the DVD again. Gxine wasn't happy at that
> > point. Although the T23 was running fine, I had to reboot in
> > order for the DVD drive to be recognized. I may have caused the
> > problem by not unmounting the HD before swapping back to the
> > DVD. You think? ;-) Haven't gone back to check that yet
> > although I'd expect a warning message or just plain unmounting
> > the drive before telling me to proceed. Anyway, it's not perfect
> > but better than crashing as it did before when removing a
> > device. John
> >> John Shane wrote:
> >>
> >>> On Wed, 03 May 2006 08:33:52 -0300
> >>> Eduardo Nogueira <nogueira@fcm.unicamp.br> wrote:
> >>>
> >>>
> >>>
> >>>> Greetings
> >>>>
> >>>> I work with a Thinkpad T42 and want to add a 2nd HD with
> >>>> ultrabay slim adapter 62P4554. I have read in think-wiki that
> >>>> Thinkpad recognizes this 2nd HD on boot time as /dev/hdc.
> >>>> My (naive) question is how do I proceed from this point,
> >>>> like format the drive, etc. My distribution is SuSE 9.3
> >>>>
> >>>> Thanks for your attention
> >>>>
> >>>>
> >>>> Eduardo
> >>>>
> >>>>
> >>> Bon dia. I use the same arrangement with a Thinkpad T23. I have
> >>> an extra HD that is mounted in an ultrabay adapter that I use
> >>> from time to time. It is indeed recognized as /dev/hdc4.
> >>> Because it was formerly my primary drive in the laptop it still
> >>> has all the old partitions. I'm only interested in one of the
> >>> partitions and I added the following entry to my /etc/fstab :
> >>>
> >>> /dev/hdc4 /hd2 reiserfs defaults 0
> >>> 0
> >>>
> >>> When the laptop boots with the second drive installed in the
> >>> ultrabay the laptop finds the drive and mounts the one partition
> >>> hdc4 on /hd2 (just an arbitrary directory I created). As I use
> >>> my TP any references to /hd2 access the second drive. When the
> >>> second drive is not in the ultrabay slot when the laptop boots
> >>> it just carries on with the DVD or battery, whatever is there.
> >>> It's very convenient.
> >>>
> >>> If you are comfortable with fdisk just boot your TP with the
> >>> second drive installed and then use fdisk to partition and
> >>> format the drive at /dev/hdc. Then edit fstab to reflect the
> >>> additional drive and partitions.
> >>>
> >>> HTH, Joao
> >>>
> >>>
>