Re: SAN Disk Allocation
From: Kevin Collins (spamtotrash_at_toomuchfiction.com)
Date: 11/03/04
- Next message: Kevin Collins: "Re: What prevent a user process from writing to arbitrary memory locations"
- Previous message: Eric DuMond: "vacation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 03 Nov 2004 19:38:47 GMT
In article <7960d3ee.0410231649.a5b858f@posting.google.com>, Doug Freyburger
wrote:
> James Taylor wrote:
>>
>> The OS is HP-UX 11 and I've been told that the following LUNs have been
>> allocated:
>> 06C-27949
>> 06D-27949
>>
>> 1) What is the difference between /dev/rdsk and /dev/dsk?
>
> No real difference. Some commands use one, some use the other.
> For example pvcreate used rdsk while pvdisplay uses dsk.
There is a difference - one is block-based (/dev/dsk) and one character-based
(/dev/rdsk - aka "raw disk").
>> 2) What is the unix command or how can I find the disks associated with the
>> 06C-27949 or 06D-27949 in order to use with pvcreate/vgcreate
>
> If the LUNs are from an EMC, look for "inq". From the format
> of the LUN number they appear to be from an HDS/XP and I don't
> remember how to map them on the command line. Do you have the
> ECC GUI available?
You may need to run the 'insf' command to create the device files for the newly
assigned disks. See 'man insf'. If you do so, you'll probably get a big hint
about which devices are the new ones.
Additionally, before doing the 'insf', you might want to run 'ioscan -fnC disk'
and capture the output. More than likely you will see disk devices that have no
associated device files and this will likely be your disks.
>> 3) When I go to /dev/dsk or /dev/rdsk, I see lots of disks. Is there a unix
>> command that tells me which disks are already allocated to a volume group
>> and which are not (are available to be used).
>
> Run pvdisplay against each one in dsk.
That doesn't guarantee anything - its quite possible the LUN in question was
assigned to another system which used it as a PV...
>> 4) Might be the same question as #4.... What is the unix command or how can
>> I the list of newly added disks to a server.
>
> ls -ltr /dev/dsk
Probably not - unless a reboot (which does an insf) or an 'insf' command have
happened.
The bottom line is, this is not a simple task if you have no previous
experience with SAN devices. You should be asking these questions of your more
senior admins and not on a newsgroup. You can quite easily screw up your
existing disks if you don't know what you are doing.
Kevin
- Next message: Kevin Collins: "Re: What prevent a user process from writing to arbitrary memory locations"
- Previous message: Eric DuMond: "vacation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|