Operating System - HP-UX
1752579 Members
4019 Online
108788 Solutions
New Discussion юеВ

Re: command to delete RAID 0 through saconfig

 
SOLVED
Go to solution
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

I want to create Raid 0 only.. Through sam it is not showing any disks ..

H/W Scan: Tue Apr 5 14:16:01 2011
Path(s) Device File(s) Use VG Names Paths Size(GB) Descrip
--------------------------------------------------------------------------------
0/3/0/0/0/0.0.0 /dev/dsk/c0t0d0 LVM vg00 1 136.70 HP
255/1/0.0.0 /dev/dsk/c1t0d0 unused - 1 0.00 TEAC

RickT_1
Valued Contributor

Re: command to delete RAID 0 through saconfig

Torsten is correct. You create raid 0 for each disk then they will show up in sam.

Rick
Torsten.
Acclaimed Contributor

Re: command to delete RAID 0 through saconfig

Hmmm, but why not mirroring the logical drives?



This will be much more secure.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

Hi,

Whats the command to create it for RAID0?

# saconfig /dev/ciss0 -E1 -p 1:3
Logical drive 1 does not exist
saconfig (/dev/ciss0): Current driver state is READY


Whats is p here?

I have these below unassigend disks,
Pls tell me step by step.

Thanks in advance
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

Hi,

Whats the command to create it for RAID0?

# saconfig /dev/ciss0 -E1 -p 1:3
Logical drive 1 does not exist
saconfig (/dev/ciss0): Current driver state is READY


Whats is p here?
internal 1I 1 8 0x5000c5001d44a9e5 DISK 146.8 GB UNASS IGNED
internal 1I 1 7 0x5000c5001d44a955 DISK 146.8 GB UNASSIGNED
internal 1I 1 6 0x5000c5001d491c35 DISK 146.8 GB UNASSIGNED
internal 1I 1 5 0x5000c5001d44aa55 DISK 146.8 GB UNASSIGNED

Now how to create it a separate lvols?

whats the command for that?

Appreciaitng your response
I have these below unassigend disks,
Pls tell me step by step.

Thanks in advance
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

saconfig /dev/ciss0 -R 0 -p 1|:1:8

Invalid specified: "1"
Disk specifier must be one of the following forms:
: of the SCSI physical disk, e.g., 4:12
OR
:: of the SAS/SATA physical disk,
e.g., 2I:1:10
OR
of the SAS/SATA physical disk, e.g., 0x500000e010f16432


saconfig (/dev/ciss0): Error - Incorrect command line arguments

saconfig (/dev/ciss0): Current driver state is READY
sh: :1:8: not found.
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

How to know the -p ?

for the drives attached to my system?
internal 1I 1 8 0x5000c5001d44a9e5 DISK 146.8 GB UNASSIGNED
internal 1I 1 7 0x5000c5001d44a955 DISK 146.8 GB UNASSIGNED
internal 1I 1 6 0x5000c5001d491c35 DISK 146.8 GB UNASSIGNED
internal 1I 1 5 0x5000c5001d44aa55 DISK 146.8 GB UNASSIGNED
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig

Hi,

I have created raid0
by using below command

# saconfig /dev/ciss0 -R 0 -p 0x5000c5001d44a9e5
Logical drive 1 created

But its device file is showing NA.

How to i use this logical volumne?


---------- LOGICAL DRIVE 1 ----------

Device File = NA
RAID Level = 0
Size = 139982 MB
Stripe Size = 128 KB
Status = OK

Participating Physical Drive(s):

Ct Enc Bay WWID
1I 1 8 0x5000c5001d44a9e5

Participating Spare Drive(s):

None
Torsten.
Acclaimed Contributor

Re: command to delete RAID 0 through saconfig

Once create you need to run "insf" to create the device file.

# insf -e -H

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
shikhar_1
Regular Advisor

Re: command to delete RAID 0 through saconfig


should be /dev/ciss1??