rawio
[Top] [All Lists]

Re: dd.raw: /dev/raw/raw1: Invalid argument

To: Scott Lurndal <slurn@xxxxxxxxxxx>
Subject: Re: dd.raw: /dev/raw/raw1: Invalid argument
From: Mary_Ann_DelBusso@xxxxxxxxxxxx
Date: Tue, 27 Jun 2000 12:07:50 -0400 (EDT)
Cc: rawio@xxxxxxxxxxx
In-reply-to: <200006261857.LAA15336@pendragon.eng.nanobiz.com>
References: <200006261857.LAA15336@pendragon.eng.nanobiz.com>
Sender: owner-rawio@xxxxxxxxxxx
Scott Lurndal <slurn@xxxxxxxxxxx> writes:
> While the /dev/raw stuff was included in the 2.2 sgi raw I/O
> work, it wasn't tested nor used, rather we used the standard
> unix raw device paradigm:
> 
> so try this instead:
> 
>  # mknod /dev/rsdb1 c 8 17
>  # mknod /dev/rsdc1 c 8 33

Hi Scott,

Thanks for your suggestion.  It did actually seem to work (aside
from the "Device not configured" error message"; see below)  But
it took a really really long time to run -- more than 3 hours when
I left last night.  I'm thinking that perhaps the POSIX Asynchronous
I/O patch might speed things up (http://oss.sgi.com/projects/kaio)???

Thanks again for your help.

mad

[mad@shaggy ~mad/tmp]$ ./dd.raw if=/dev/rsdb1 of=/dev/rsdc1 bs=2048

./dd.raw: /dev/rsdb1: Device not configured
4440539+0 records in
4440539+0 records out
[mad@shaggy ~mad/tmp]$ df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1              2953188     56644   2746528   2% /
/dev/sda6              2441316    128672   2188632   6% /opt
/dev/sda5              2362524    790572   1451940  35% /usr
AFS                    9000000         0   9000000   0% /afs
/dev/sdb1              8741468   2099224   6198192  25% /wtecache1
/dev/sdc1              8741468        20   8297396   0% /wtecache2
[mad@shaggy ~mad/tmp]$ ls -al /wtecache1
total 2099228
drwxr-xr-x    3 root     wheel        4096 Jun 26 13:54 .
drwxr-xr-x   27 root     wheel        4096 Jun 21 17:39 ..
-rw-------    1 root     wheel    2147475456 Jun 26 13:58 file1
-rw-r--r--    1 root     wheel           6 Jun 22 09:43 hello
-rw-r--r--    1 root     wheel           5 Jun 22 09:43 junk
drwxr-xr-x    2 root     wheel       16384 May  3 13:39 lost+found
-rw-r--r--    1 root     wheel           0 Jun 22 09:43 mad
[mad@shaggy ~mad/tmp]$ ls -al /wtecache2
total 2099228
drwxr-xr-x    3 root     wheel        4096 Jun 22 10:38 .
drwxr-xr-x   27 root     wheel        4096 Jun 21 17:39 ..
-rw-------    1 root     wheel    2147475456 Jun 26 13:58 file1
-rw-r--r--    1 root     wheel           6 Jun 22 09:43 hello
-rw-r--r--    1 root     wheel           5 Jun 22 09:43 junk
drwxr-xr-x    2 root     wheel       16384 May  3 13:39 lost+found
-rw-r--r--    1 root     wheel           0 Jun 22 09:43 mad

After I rebooted, df even shows the right stuff:
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sdb1              8741468   2099224   6198192  25% /wtecache1
/dev/sdc1              8741468   2099224   6198192  25% /wtecache2

<Prev in Thread] Current Thread [Next in Thread>