Originally posted by: HajoEhlers
> Hi
>
> This bring me to the question:
>
> How to create a raw device in AIX. I've always used
> the mklv with -t "raw" option despite this is not a
> really type for LV.
The -t option give the logical volume just a label for the output of an lsvg datavg ( In case the lv was created within this vg ). Its imho a good idea in case some scripts parsed the output to mirror an lv if its a jfs or jfs2 LV type. And mirroring a raw device with the LVM is not a good idea.
If you create a lv with the mklv command you will see in the /dev an entry starting with r for the just created lv. This is your raw device.
Example: ( Not working because from memory )
mklv -t raw -y dbrawdata 100 datavg
Now a "ls -l /dev/*dbrawdata" will show:
b ... /dev/rdbrawdata <--- THIS IS YOUR raw logical volume
c ..../dev/dbrawdata
hth
Hajo
#AIX-Forum