This discussion is archived
2 Replies Latest reply: Feb 10, 2013 3:39 AM by Martin Brambley RSS

local storage with 3.2.1

Martin Brambley Newbie
Currently Being Moderated
right finally bit the bullit and upgraded to 3 from 2 (2 was very friendly for home setups - but the latest vm templates were not able to run in it)

how on earth do I use the internal disks???

ive heard all the chatter about needing wholee unpartitioned disks and that what I have but I cannot seem to find them or use them for repos

fdisk -l on the vmserver gives:

[root@vmserver ~]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 4190 33551752+ 82 Linux swap / Solaris
/dev/sda3 4191 4712 4192965 83 Linux
/dev/sda4 4713 121602 938910721 5 Extended
/dev/sda5 4713 8696 31998976 82 Linux swap / Solaris
/dev/sda6 8696 121602 906910720 83 Linux

Disk /dev/sdc: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table
<<<



i have installed on sda and as you can see sdb sdc & sdd are free unpartitioned whole disks that I want to use for my repos

how do i do this - the doc says it can be done but when i try to create a repo you cannot choose local storage


thanks
Martin
  • 1. Re: local storage with 3.2.1
    Martin Brambley Newbie
    Currently Being Moderated
    more info - this all looks fine doesnt it? so how come i cannot see any disks in the manager?



    [root@vmserver ~]# storage_discover --infoDumpType=disk_XML
    <SCSI>
    <Disk TYPE="LOCAL" WWID="SATA_WDC_WD10EADS-00_WD-WCAU46316944">
    <Transport>LOCAL</Transport>
    <Vendor>ATA</Vendor>
    <Product>WDC WD10EADS-00L</Product>
    <Rev>01.0</Rev>
    <Size units="bytes">1000204886016</Size>
    <ExplicitMPdevCnfg>True</ExplicitMPdevCnfg>
    <WWIDisGenerated>False</WWIDisGenerated>
    <Target></Target>
    <Multipath DeviceMap="/dev/dm-2">
    <Path Dev="sdd">
    <DevPath>/dev/sdd</DevPath>
    <Device>8:48</Device>
    <SCSIdeviceID>4:0:0:0</SCSIdeviceID>
    <Target></Target>
    <TargetIP></TargetIP>
    <TargetPort></TargetPort>
    <TargetIQN></TargetIQN>
    <TargetTPGT>-1</TargetTPGT>
    <Path_State>active</Path_State>
    <Check_State>ready</Check_State>
    </Path>
    </Multipath>
    </Disk>
    <Disk TYPE="LOCAL" WWID="SATA_WDC_WD15EARS-00_WD-WMAZA6728501">
    <Transport>LOCAL</Transport>
    <Vendor>ATA</Vendor>
    <Product>WDC WD15EARS-00M</Product>
    <Rev>51.0</Rev>
    <Size units="bytes">1500301910016</Size>
    <ExplicitMPdevCnfg>True</ExplicitMPdevCnfg>
    <WWIDisGenerated>False</WWIDisGenerated>
    <Target></Target>
    <Multipath DeviceMap="/dev/dm-1">
    <Path Dev="sdb">
    <DevPath>/dev/sdb</DevPath>
    <Device>8:16</Device>
    <SCSIdeviceID>1:0:0:0</SCSIdeviceID>
    <Target></Target>
    <TargetIP></TargetIP>
    <TargetPort></TargetPort>
    <TargetIQN></TargetIQN>
    <TargetTPGT>-1</TargetTPGT>
    <Path_State>active</Path_State>
    <Check_State>ready</Check_State>
    </Path>
    </Multipath>
    </Disk>
    <Disk TYPE="LOCAL" WWID="SATA_WDC_WD2001FASS-_WD-WMAUR0400603">
    <Transport>LOCAL</Transport>
    <Vendor>ATA</Vendor>
    <Product>WDC WD2001FASS-0</Product>
    <Rev>01.0</Rev>
    <Size units="bytes">2000398934016</Size>
    <ExplicitMPdevCnfg>True</ExplicitMPdevCnfg>
    <WWIDisGenerated>False</WWIDisGenerated>
    <Target></Target>
    <Multipath DeviceMap="/dev/dm-0">
    <Path Dev="sdc">
    <DevPath>/dev/sdc</DevPath>
    <Device>8:32</Device>
    <SCSIdeviceID>2:0:0:0</SCSIdeviceID>
    <Target></Target>
    <TargetIP></TargetIP>
    <TargetPort></TargetPort>
    <TargetIQN></TargetIQN>
    <TargetTPGT>-1</TargetTPGT>
    <Path_State>active</Path_State>
    <Check_State>ready</Check_State>
    </Path>
    </Multipath>
    </Disk>
    </SCSI>
    <DiskScanIssues>
    <Errors Num="0"><![CDATA[
    ]]></Errors>
    <Warnings Num="0"><![CDATA[
    ]]></Warnings>
    </DiskScanIssues>







    [root@vmserver ~]# multipath -ll
    Feb 10 02:48:27 | Could not open include file "/etc/blacklisted.wwids" mentioned in config file
    SATA_WDC_WD10EADS-00_WD-WCAU46316944 dm-2 ATA,WDC WD10EADS-00L
    size=932G features='0' hwhandler='0' wp=rw
    `-+- policy='round-robin 0' prio=1 status=active
    `- 4:0:0:0 sdd 8:48 active ready running
    SATA_WDC_WD15EARS-00_WD-WMAZA6728501 dm-1 ATA,WDC WD15EARS-00M
    size=1.4T features='0' hwhandler='0' wp=rw
    `-+- policy='round-robin 0' prio=1 status=active
    `- 1:0:0:0 sdb 8:16 active ready running
    SATA_WDC_WD2001FASS-_WD-WMAUR0400603 dm-0 ATA,WDC WD2001FASS-0
    size=1.8T features='0' hwhandler='0' wp=rw
    `-+- policy='round-robin 0' prio=1 status=active
    `- 2:0:0:0 sdc 8:32 active ready running
    [root@vmserver ~]#
  • 2. Re: local storage with 3.2.1
    Martin Brambley Newbie
    Currently Being Moderated
    its amazing what a reboot can sort out....

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points