Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

1TB USB drive

17 views
Skip to first unread message

Dr. Michael Holzapfel

unread,
Mar 26, 2009, 5:07:04 PM3/26/09
to
Hi all,

are there any experiences regarding 1TB USB drives on OS/2?
LVM reports a corrupt partition table and only 512 MB free HD-space.

Thanks in advance
Michael

James J. Weinkam

unread,
Mar 26, 2009, 6:07:07 PM3/26/09
to

I had a similar result when I tried to install eCS on a new HP Pavilion with a
640GB drive. After a bit of floundering about, I sent email to Dani, and she
replied that OS/2 can handle drives over 512GB provided that only OS/2 tools
are used to partition the drive.

The basic problem is that there are kernel API calls that use CHS addressing
that limit addressable space to 512GM with the usual geometry.

If you start of with a completely blank drive, LVM will initialize it using
nonstandard geometry that circumvents the problem. However with LVM (at least
the version that I have), you only get one kick at the can. In one run you can
create as many partitions and volumes as you want; but once you have LVM
commit changes and exit, any subsequent invocation of LVM reports that the
partition table is corrupt and it refuses to commit any changes. The only
operation that still does anything is change of drive letter. DFSee still
works ok so all is not lost. It's been several months since this episode and I
am not absolutely certain, but I think that we found that once you know the
geometry that LVM wants to use, you can start with a blank drive and do
everything from DFSee.

There are also some limitations if you need to use Windows. Windows will not
boot from a partition on a drive with the OS/2 geometry. However windows will
read and write from such a drive and sees the whole thing.

Ilya Zakharevich

unread,
Mar 26, 2009, 11:08:15 PM3/26/09
to
On 2009-03-26, Dr. Michael Holzapfel <michael....@arcor.de> wrote:
> Hi all,
>
> are there any experiences regarding 1TB USB drives on OS/2?

I still wait for my enclosure to use a large drive; however, with
already a smaller size I was forced to use /CHS on USBMSD:

REM /CHS Driver calculates and adds Cylinder/Heads/Sectors values to
REM device geometry. This key helps to support USB drives
REM with capacity more than 40GB for systems with os2dasd driver
REM without 512GB support and for non-lvm systems.

REM /MS10_OFF Driver avoids of using ModeSense10 command for geometry detection.

> LVM reports a corrupt partition table and only 512 MB free HD-space.

LVM is a can of worms. For much smoother USB operation, upgrade to
FDISK-based configuration.

Hope this helps,
Ilya

P.S. And you know about 512MB-limitation? You need either DANI, or
dasd with a flag... (Do not know whether this is applicable to USB)

Trevor Hemsley

unread,
Mar 27, 2009, 6:17:21 AM3/27/09
to
On Thu, 26 Mar 2009 21:07:04 UTC in comp.os.os2.setup.storage, "Dr. Michael
Holzapfel" <michael....@arcor.de> wrote:

> Hi all,
>
> are there any experiences regarding 1TB USB drives on OS/2?
> LVM reports a corrupt partition table and only 512 MB free HD-space.

There are fixes to os2dasd.dmd (at a minimum) and probably the IDE drivers and
maybe LVM too. I recommend that you update to at least these levels

[X:\os2\boot]bldlevel os2dasd.dmd
Build Level Display Facility Version 6.10.480 Oct 6 2000
(C) Copyright IBM Corporation 1993-2000
Signature: @#IBM:14.105#@ IBM DASD Manager
Vendor: IBM
Revision: 14.105
File Version: 14.105
Description: IBM DASD Manager

[X:\os2\boot]bldlevel danis506.add
Build Level Display Facility Version 6.10.480 Oct 6 2000
(C) Copyright IBM Corporation 1993-2000
Signature: @#DANI:1.8#@##1## 12.5.2008 17:06:29
:::5::@@ Adapter Driver for PATA/SATA DASD
Vendor: DANI
Revision: 1.08
Date/Time: 12.5.2008 17:06:29
Build Machine: Nachtigall
File Version: 1.8.5
Description: Adapter Driver for PATA/SATA DASD

[X:\os2\boot]bldlevel os2lvm.dmd
Build Level Display Facility Version 6.10.480 Oct 6 2000
(C) Copyright IBM Corporation 1993-2000
Signature: @#IBM:14.105#@ IBM Logical Volume Manager
Vendor: IBM
Revision: 14.105
File Version: 14.105
Description: IBM Logical Volume Manager

Directory of X:\os2\dll

6-07-06 3:12p 170486 54 LVM.DLL

I am successfully using these with a 640GB RAID volume and have none of the
problems that others describe. I can quite happily use LVM multiple times and it
still looks fine every time.

--
Trevor Hemsley, Brighton, UK
Trevor dot Hemsley at ntlworld dot com

tho...@antispam.ham

unread,
Mar 27, 2009, 8:20:57 AM3/27/09
to
Dr. Michael Holzapfel writes:

> are there any experiences regarding 1TB USB drives on OS/2?
> LVM reports a corrupt partition table and only 512 MB free HD-space.

I managed to get a 750 GB USB drive working with OS/2. Had to wipe
the boot sector, which was probably set up for Windows and NTFS, but
once that was done, nothing special was required.

I do have an older motherboard with two OHCD, one UHCD, and one EHCD.
Sometime it seems as though the USB drive is running at USB 1.1 speed.
If I plug a USB 2.0 device into the machine and then remove it, and
then plug a different USB 2.0 device into the machine, is it supposed
to get the one available high speed connection, or has the system
"allocated" it to the first high-speed device that was plugged in?

Peter Brown

unread,
Mar 27, 2009, 10:47:45 AM3/27/09
to
Hi

Are you confusing "connection" with Controller.

You have 1 USB2 Controller.

It *should* work with any USB2 device plugged into any USB port.


I did see something, somewhere about adjusting the speed of the USB2
Controller...

If interested have a read through the FAQ and patch the USBEHCD.SYS to
see of speed improves
http://en.ecomstation.ru/projects/usbtools/usb-faq.txt


Not sure if it made a lot of difference here - reformating a USB drive
to JFS sure did; fat32 was so slooowwww.

Regards

Pete

Andi B.

unread,
Mar 27, 2009, 3:47:13 PM3/27/09
to
Trevor Hemsley schrieb:
The latest os2dasd.dmd I found at ecomstation.com (lvm14105.exe) is 14.104 and
my LVM.dll is
25.01.06 15.18 154.583 54 a--- LVM.DLL.

eCS2.0rc5 do have even older versions here.

Please can you give me a link where you find your newer version?

Regards,
Andi

Trevor Hemsley

unread,
Mar 27, 2009, 4:03:29 PM3/27/09
to
On Fri, 27 Mar 2009 19:47:13 UTC in comp.os.os2.setup.storage, "Andi B."
<and...@gmx.net> wrote:

> Please can you give me a link where you find your newer version?

I think mine are from the leaked xr_c006

Andi B.

unread,
Mar 27, 2009, 4:54:30 PM3/27/09
to
Trevor Hemsley schrieb:

> On Fri, 27 Mar 2009 19:47:13 UTC in comp.os.os2.setup.storage, "Andi B."
> <and...@gmx.net> wrote:
>
>> Please can you give me a link where you find your newer version?
>
> I think mine are from the leaked xr_c006
>
Unfortunatly all links I've found are death. Do you have a working one for me
please?

email would be okay too.

Thx

Dr. Michael Holzapfel

unread,
Mar 27, 2009, 5:05:02 PM3/27/09
to
Andi B. schrieb:

> Unfortunatly all links I've found are death. Do you have a working one
> for me please?

try http://www.dreamlandbbs.com/files/filegate/oap/osyscsd/index.html

unfortunately i have no idea how to handle these files (to far away
since i applied a fixpak by hand)

Michael

Dr. Michael Holzapfel

unread,
Mar 27, 2009, 5:31:39 PM3/27/09
to
Ilya Zakharevich schrieb:

>
> I still wait for my enclosure to use a large drive; however, with
> already a smaller size I was forced to use /CHS on USBMSD:
>
...ist already "in use", but does not help. Thanks.

Michael

Andi B.

unread,
Mar 27, 2009, 5:38:26 PM3/27/09
to
Dr. Michael Holzapfel schrieb:
Have tried that, but arj says no arj archive :-( Maybe I try to download again.
I looked at eCS2.0rc6, but there are the 'old' file too.

Email with zip of these files would be really appreciated :-)

Dr. Michael Holzapfel

unread,
Mar 27, 2009, 5:44:08 PM3/27/09
to
Andi B. schrieb:
try unarj x xr_c006.a0x after setting up the directory structure
(fix\os2.1, etc.)

Michael

Robert AH Prins

unread,
Mar 27, 2009, 7:54:26 PM3/27/09
to
"Andi B." <and...@gmx.net> wrote in message
news:12381899...@nntpcache01.si.eunet.at...

WinRAR on doze extracts them without problems

Robert
--
Robert AH Prins
robert dot ah dot prins on gmail


Dave Yeo

unread,
Mar 27, 2009, 10:28:31 PM3/27/09
to

Last time I tried WinRAR ran fine on OS/2 using Odin
Dave

Ilya Zakharevich

unread,
Mar 28, 2009, 3:39:15 AM3/28/09
to
On 2009-03-27, Dr. Michael Holzapfel <michael....@arcor.de> wrote:
> try unarj x xr_c006.a0x after setting up the directory structure
> (fix\os2.1, etc.)

This did not work much... But

arj x ../xr_c006

did it fine (note: no extension).

Hope this helps,
Ilya

Dr. Michael Holzapfel

unread,
Mar 28, 2009, 4:30:54 AM3/28/09
to
Hi all,

thanks all for your input. Works great now. The recipe:

1. CHS on usbmsd. My config.sys entry is:

BASEDEV=USBMSD.ADD /REMOVABLES:2 /FLOPPIES:0 /CHS

2. Use of os2dasd.dmd, os2lvm.dmd and lvm.dll from xr_c006.

3. Use of latest danis506 (1.8.5)

4. Remove MBR and all former partitions via dfsee

5. Create new partition for JFS-use via dfsee

6. Format partition with format x: fs:/jfs

Best regards
Michael

Andi B.

unread,
Mar 28, 2009, 5:15:19 AM3/28/09
to
Dr. Michael Holzapfel schrieb:
In the meantime I got my 1TB to work with my slightly older versions (14.104
os2dasd) by the following procedure -
- wipe out boot sector with DFSee
- reboot
- do _NOT_ create a partion with DFSee 9.00 (not tested 9.15). DFSee 9.00 sees
1TB as long as the disk is empty, but after creating 1 partition it reports the
disk size as 512GB
- but create with lvmgui

As I have lvm traps sometimes (most often when starting) DFSee or lvm, I will
update to xc_006 of course. Maybe that helps.

Throughput is only 4.5MByte/s on a JFS partition and 1.6MByte/s for FAT32 which
is very slow compared to W2k-FAT32 which is 26.7MByte/s. Have to search for the
USB patches I read and test again....

Andi

Paul Ratcliffe

unread,
Mar 28, 2009, 5:51:19 AM3/28/09
to
On Sat, 28 Mar 2009 09:30:54 +0100, Dr. Michael Holzapfel
<michael....@arcor.de> wrote:

> 2. Use of os2dasd.dmd, os2lvm.dmd and lvm.dll from xr_c006.

What are the buildlevels?

> 6. Format partition with format x: fs:/jfs

format x: /fs:jfs

Ruediger Ihle

unread,
Mar 28, 2009, 6:57:06 AM3/28/09
to
On Sat, 28 Mar 2009 08:30:54 UTC, "Dr. Michael Holzapfel" <michael....@arcor.de> wrote:

> 3. Use of latest danis506 (1.8.5)

Even though there are reasons to use the latest version,
it is of no relevance here. The Dani drivers have nothing
to do with USB attached disks.


--
Ruediger "Rudi" Ihle [S&T Systemtechnik GmbH, Germany]
http://www.s-t.de
Please remove all characters left of the "R" in my email address

Dr. Michael Holzapfel

unread,
Mar 28, 2009, 8:52:20 AM3/28/09
to
Paul Ratcliffe schrieb:

> On Sat, 28 Mar 2009 09:30:54 +0100, Dr. Michael Holzapfel
> <michael....@arcor.de> wrote:
>
>> 2. Use of os2dasd.dmd, os2lvm.dmd and lvm.dll from xr_c006.
>
> What are the buildlevels?
As mentioned in ealier:

Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001


Signature: @#IBM:14.105#@ IBM DASD Manager
Vendor: IBM
Revision: 14.105
File Version: 14.105
Description: IBM DASD Manager

Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001


Signature: @#IBM:14.105#@ IBM Logical Volume Manager
Vendor: IBM
Revision: 14.105
File Version: 14.105
Description: IBM Logical Volume Manager

[C:\os2\boot]ls -l ../dll/lvm.dll
-rw-rw---a 170486 Jul 6 2006 ../dll/lvm.dll

>
>> 6. Format partition with format x: fs:/jfs
>
> format x: /fs:jfs

correct. typed too fast

David T. Johnson

unread,
Apr 13, 2009, 11:14:51 AM4/13/09
to
Dr. Michael Holzapfel wrote: > Hi all, > thanks all for your input. Works great now. The recipe: > 1. CHS on usbmsd. My config.sys entry is: > BASEDEV=USBMSD.ADD /REMOVABLES:2 /FLOPPIES:0 /CHS > 2. Use of os2dasd.dmd, os2lvm.dmd and lvm.dll from xr_c006. > 3. Use of latest danis506 (1.8.5) > 4. Remove MBR and all former partitions via dfsee > 5. Create new partition for JFS-use via dfsee > 6. Format partition with format x: fs:/jfs > Best regards > Michael Awesome! Thanks for taking the time to post this information. A 1TB OS/2 JFS:formatted USB drive is a formidable tool. Posted with OS/2 Warp 4.52 and Sea Monkey 1.5a

MMI

unread,
May 5, 2009, 8:13:47 PM5/5/09
to

Yeah. But personally, I'd want some redundancy with such a big chunk of
data, so I decided to give the 1T of data to Linux, which provides a SW
RAID 1 (mirror) for me, and access it via NFS.

Too bad VRAID package for OS/2 is history.

--
Cheers,
Martin

UNDERSCOREmmiATcentrumDOTcz to email me

0 new messages