Re: How to find out drive path - Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 5, 2009 at 5:13 PM, Tait Clarridge <tait@xxxxxxxxxxxx> wrote:
> On Mon, 2009-10-05 at 16:58 +0100, Dan Track wrote:
>> Hi,
>>
>> I've just added a new hp array to my server and when looking in dmesg
>> I can see the following:
>>
>> scsi0 : ioc0: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=185
>>   Vendor: HP        Model: MSA2012sa         Rev: J300
>>   Type:   Enclosure                          ANSI SCSI revision: 05
>> ACPI: PCI Interrupt 0000:17:00.0[A] -> GSI 19 (level, low) -> IRQ 98
>> mptbase: ioc1: Initiating bringup
>> ioc1: LSISAS1068E B3: Capabilities={Initiator}
>> PCI: Setting latency timer of device 0000:17:00.0 to 64
>> scsi1 : ioc1: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=98
>>   Vendor: HP        Model: MSA2012sa         Rev: J300
>>   Type:   Enclosure                          ANSI SCSI revision: 05
>> HP CISS Driver (v 3.6.20-RH2)
>> ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 18 (level, low) -> IRQ 185
>> cciss0: <0x3230> at PCI 0000:06:00.0 IRQ 130 using DAC
>>       blocks= 143305920 block_size= 512
>>       heads= 255, sectors= 32, cylinders= 17562
>>
>>       blocks= 143305920 block_size= 512
>>       heads= 255, sectors= 32, cylinders= 17562
>>
>>  cciss/c0d0: p1 p2
>> libata version 3.00 loaded.
>> Initializing USB Mass Storage driver...
>>
>>
>> mount
>> /dev/mapper/VolGroup00-LogVolRoot on / type ext3 (rw)
>> proc on /proc type proc (rw)
>> sysfs on /sys type sysfs (rw)
>> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
>> /dev/mapper/VolGroup00-LogVolVar on /var type ext3 (rw)
>> /dev/mapper/VolGroup00-LogVolTmp on /tmp type ext3 (rw)
>> /dev/mapper/VolGroup00-LogVolUsr on /usr type ext3 (rw)
>> /dev/cciss/c0d0p1 on /boot type ext3 (rw)
>> tmpfs on /dev/shm type tmpfs (rw)
>> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
>> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
>>
>>
>> My question is how can I tell where the partition on the array is
>> mapped to on my server?
>>
>> Thanks in advance.
>> Dan
>>
>
> Check out the lvm command, more specifically (as root or with sudo):
>
> lvm vgs
> lvm lvs
> lvm pvs
>
> Using my laptop as an example (username and hostname scrubbed):
>
> [12:07 PM] user @ laptop [~] $  sudo lvm vgs
>  VG           #PV #LV #SN Attr   VSize   VFree
>  vg_laptop   1   3   0 wz--n- 297.89G    0
>
> This one shows your volume groups.
>
>
> [12:08 PM] user @ laptop [~] $  sudo lvm lvs
>  LV      VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
>  lv_root vg_laptop -wi-ao  60.51G
>  lv_swap vg_laptop -wi-ao   5.67G
>  lv_vm   vg_laptop -wi-ao 231.71G
>
> This one shows the logical volumes and which volume group it is
> associated with.
>
> [12:08 PM] user @ laptop [~] $  sudo lvm pvs
>  PV         VG           Fmt  Attr PSize   PFree
>  /dev/sda2  vg_laptop lvm2 a-   297.89G    0
>
> And finally, this one shows where the volume group is on the disk and
> what size/format it is.
>
> Tait

Thanks,

Only problem is I haven't done anything to the partitions on the array
yet. The mount paths are the partition setups I have done for the
local disks on the server. I need to know how to reach the partition
on the array. Incidentally the array is still building the volume but
it does say that since it is doing it online the partition is
available but I can't see on bootup. Any thoughts?

Thanks
Dan

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux