Bug in Version 1.36a - Professional

User discussion and information resource forum for the TeraByte OS Deployment Tool Suite.
Post Reply
GoGo
Posts: 2
Joined: Thu May 10, 2012 1:44 pm

Bug in Version 1.36a - Professional

Post by GoGo »

Hi,

I found a bug in v. 1.36a. If you try to see the stats of a file system e.g. STATS d:, you will get the error: Unable to obtain stats (76).

OS is win7 ent. sp1 x64.

Georg
TeraByte Support(TP)
Posts: 305
Joined: Wed Aug 31, 2011 4:22 pm

Re: Bug in Version 1.36a - Professional

Post by TeraByte Support(TP) »

On 05/10/2012 09:50 AM, GoGo wrote:
> Hi,
>
> I found a bug in v. 1.36a. If you try to see the stats of a file
> system e.g. STATS d:, you will get the error: Unable to obtain stats
> (76).
>
> OS is win7 ent. sp1 x64.
>
> Georg
>
>


The thing that you might not be aware of is that the "d:" actually
refers to a TBOSDT numerical drive (such as 0: or 1: or 2: ,etc). You
establish TBOSDT drives by mounting a drive/partition to associate a
TBOSDT drive number with it. Then you can use the stats command on it
(e.g. 'stats 0: stats 1: ,etc.)

Here's a sequence of commands to demonstrate:


1. List all partitions on physical hard drive 0 (note the ID column)

list hd 0
Name Size Typ ID File System
---------------- ---------- --- ------ ------------------
PQSERVICE 14336MB Pri (01) Windows RE
SYSTEM RESERVED 100MB Pri (02) HPFS/NTFS
Windows 7 62005MB Pri (03) HPFS/NTFS
Ubuntu 12.04 15000MB Pri (8A) Linux Native
Debian Wheezy 15000MB Pri (8C) Linux Native
OpenSUSE 12.1 15000MB Pri (8D) Linux Native
Extended 150000MB Pri (82) Extended
Lswap 4103MB Vol (8280) Linux Swap/Solaris
Data 7499MB Vol (8283) HPFS/NTFS
VboxVM 40000MB Vol (8281) HPFS/NTFS
Images 50000MB Vol (8282) HPFS/NTFS
BootIt BM 6MB Pri (80) BootIt EMBRM


2. Display the help text for the mount command

help mount
Associate a file system with a drive.

OPEN FS drive: phydrivenum [partitionid]
OPEN FS drive: filename [partitionid]
MOUNT drive: filename [partitionid]


3. Mount partition ID=03 on physical hard drive 0 as TBOSDT drive 0:

open fs 0: 0 0x03


4. Run the stats command on TBOSDT drive 0:

stats 0:
Drive Information:
Allocation Units: 15,873,306
Used: 8,415,528
Allocation Size: 4,096
Bytes Free: 30,547,058,688


5. Mount partition ID=8282 on physical hard drive 0 as TBOSDT drive 1:

open fs 1: 0 0x8282


6. Run the stats command on TBOSDT drive 1:

stats 1:
Drive Information:
Allocation Units: 12,799,999
Used: 2,867,795
Allocation Size: 4,096
Bytes Free: 40,682,307,584


--
Tom Pfeifer
TeraByte Support
GoGo
Posts: 2
Joined: Thu May 10, 2012 1:44 pm

Re: Bug in Version 1.36a - Professional

Post by GoGo »

nice Explanation.

Thank you!
Georg
Post Reply