|
LQ Newbie
Registered: May 2009
Posts: 2
Original Poster
Rep:
|
Here's some additional information:
The 300 GB partition shows up as sdc. sdc and sdd are mapped to netapp device for the same lun. dm-13 shows as where the volumegroup points to, but dm-13 is does not show a partition with fdisk as sdc, sdd, and dm-8 do. I can find no other reference to dm-8. The pvdisplay shows dm-11 as the pv, however dm11 doesn't have proper partition infomation via fdisk. I'm trying to be able to use the extra 200 GB of space that was added, and have tried fdisk, parted, lvresize, and pvresize. Please help me with what I'm missing.
cat /proc/partitions
major minor #blocks name
104 0 71652960 cciss/c0d0
104 1 522081 cciss/c0d0p1
104 2 71127787 cciss/c0d0p2
253 0 2097152 dm-0
253 1 2097152 dm-1
253 2 5242880 dm-2
253 3 10485760 dm-3
253 4 10158080 dm-4
253 5 15728640 dm-5
253 6 14483456 dm-6
8 0 157286400 sda
8 1 157286384 sda1
8 16 157286400 sdb
8 17 157286384 sdb1
8 32 314572800 sdc
8 33 104857520 sdc1
8 48 104857600 sdd
8 49 104857520 sdd1
8 64 31457280 sde
8 65 31457264 sde1
8 80 31457280 sdf
8 81 31457264 sdf1
253 7 157286400 dm-7
253 8 104857600 dm-8 253 10 31457280 dm-10
253 9 157286384 dm-9
253 11 104857520 dm-11
253 12 31457264 dm-12
253 13 104824832 dm-13
[root@iqdb1 ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi2 Channel: 00 Id: 00 Lun: 10
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 10
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi1 Channel: 00 Id: 00 Lun: 01
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
iscsi-ls -l -c output for this partition:
TARGET CONFIGURATION KEYS :
-------------------------
INITIAL R2T : No
IMMEDIATE DATA : Yes
HEADERDIGEST : None
DATA DIGEST : None
FIRSTBURSTLENGTH : 65536
MAXBURSTLENGTH : 65536
MAXRECVDATASEGMENTLENGTH: initiator - 131072
target - 65536
LOGIN TIMEOUT : 120
ACTIVE TIMEOUT : 5
IDLE TIMEOUT : 60
PING TIMEOUT : 5
DEVICE DETAILS:
---------------
LUN ID : 10
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
page83 type3: 60a980005672447258344e4c534a6f52
page80: 5672447258344e4c534a6f520a
Device: /dev/sdc
*******************************************************************************
TARGET NAME : iqn.1992-08.com.netapp:sn.50408458
TARGET ALIAS :
HOST ID : 3
BUS ID : 0
TARGET ID : 0
TARGET ADDRESS : 192.168.24.31:3260,2001
SESSION STATUS : ESTABLISHED AT Tue May 12 01:51:51 EDT 2009
SESSION ID : ISID 00023d000002 TSIH 123
TARGET CONFIGURATION KEYS :
-------------------------
INITIAL R2T : No
IMMEDIATE DATA : Yes
HEADERDIGEST : None
DATA DIGEST : None
FIRSTBURSTLENGTH : 65536
MAXBURSTLENGTH : 65536
MAXRECVDATASEGMENTLENGTH: initiator - 131072
target - 65536
LOGIN TIMEOUT : 120
ACTIVE TIMEOUT : 5
IDLE TIMEOUT : 60
PING TIMEOUT : 5
DEVICE DETAILS:
---------------
LUN ID : 10
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
page83 type3: 60a980005672447258344e4c534a6f52
page80: 5672447258344e4c534a6f520a
Device: /dev/sdd
iscsi size:
[root@iqdb1 ~]# cat /sys/block/sdc/size
629145600
[root@iqdb1 ~]# cat /sys/block/sdc/sdc1/size
209715040
In /etc/fstab partition information below:
/dev/mapper/VolGroup01-Backup /mnt/IQBackup ext3 rw,_netdev 0 0
logical volume mapped to 253,13:
ls -l /dev/mapper/*Backup
brw-rw---- 1 root disk 253, 13 Apr 19 04:50 /dev/mapper/VolGroup01-Backup
df -k output:
/dev/mapper/VolGroup01-Backup
103179552 90401224 9633584 91% /mnt/IQBackup
Other infomation about pv, vg, and lv
[root@iqdb1 ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 VolGroup00 lvm2 a- 67.81G 10.31G
/dev/dm-11 VolGroup01 lvm2 a- 99.97G 0
[root@iqdb1 ~]# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 7 0 wz--n- 67.81G 10.31G
VolGroup01 1 1 0 wz--n- 99.97G 0
[root@iqdb1 ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
LogVol00 VolGroup00 -wi-ao 2.00G
LogVol01 VolGroup00 -wi-ao 13.81G
LogVol02 VolGroup00 -wi-ao 15.00G
LogVol11 VolGroup00 -wi-ao 2.00G
LogVol12 VolGroup00 -wi-ao 5.00G
LogVol14 VolGroup00 -wi-ao 10.00G
LogVol15 VolGroup00 -wi-ao 9.69G
Backup VolGroup01 -wi-ao 99.97G
[root@iqdb1 ~]# pvscan
PV /dev/dm-11 VG VolGroup01 lvm2 [99.97 GB / 0 free]
PV /dev/cciss/c0d0p2 VG VolGroup00 lvm2 [67.81 GB / 10.31 GB free]
Total: 2 [167.78 GB] / in use: 2 [167.78 GB] / in no VG: 0 [0 ]
[root@iqdb1 lvm]# pvdisplay
--- Physical volume ---
PV Name /dev/dm-11
VG Name VolGroup01
PV Size 100.00 GB / not usable 31.92 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 3199
Free PE 0
Allocated PE 3199
PV UUID MYmKX1-pcv5-5Ngs-0Iqt-1H08-qAsr-X8OfIm
[root@iqdb1 lvm]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup01/Backup
VG Name VolGroup01
LV UUID RZGzaj-e3WE-BUzH-SAoE-DbRh-XLhg-OwkOTE
LV Write Access read/write
LV Status available
# open 1
LV Size 99.97 GB
Current LE 3199
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:13
[root@iqdb1 ~]# fdisk -l
Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes
255 heads, 63 sectors/track, 8920 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 65 522081 83 Linux
/dev/cciss/c0d0p2 66 8920 71127787+ 8e Linux LVM
Disk /dev/sda: 161.0 GB, 161061273600 bytes
64 heads, 32 sectors/track, 153600 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 153600 157286384 83 Linux
Disk /dev/sdb: 161.0 GB, 161061273600 bytes
64 heads, 32 sectors/track, 153600 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 153600 157286384 83 Linux
Disk /dev/sdc: 107.3 GB, 107374182400 bytes
4 heads, 32 sectors/track, 1638400 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 1638399 104857520 83 Linux
Disk /dev/sdd: 107.3 GB, 107374182400 bytes
4 heads, 32 sectors/track, 1638400 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 1638399 104857520 83 Linux
Disk /dev/sde: 32.2 GB, 32212254720 bytes
64 heads, 32 sectors/track, 30720 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 30720 31457264 83 Linux
Disk /dev/sdf: 32.2 GB, 32212254720 bytes
64 heads, 32 sectors/track, 30720 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 30720 31457264 83 Linux
Disk /dev/dm-7: 161.0 GB, 161061273600 bytes
64 heads, 32 sectors/track, 153600 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/dm-7p1 1 153600 157286384 83 Linux
Disk /dev/dm-8: 107.3 GB, 107374182400 bytes
4 heads, 32 sectors/track, 1638400 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Device Boot Start End Blocks Id System
/dev/dm-8p1 1 1638399 104857520 83 Linux
Disk /dev/dm-10: 32.2 GB, 32212254720 bytes
64 heads, 32 sectors/track, 30720 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/dm-10p1 1 30720 31457264 83 Linux
Disk /dev/dm-9: 161.0 GB, 161061257216 bytes
64 heads, 32 sectors/track, 153599 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/dm-9 doesn't contain a valid partition table
Disk /dev/dm-11: 107.3 GB, 107374100480 bytes
4 heads, 32 sectors/track, 1638398 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Disk /dev/dm-11 doesn't contain a valid partition table
Disk /dev/dm-12: 32.2 GB, 32212238336 bytes
64 heads, 32 sectors/track, 30719 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/dm-12 doesn't contain a valid partition table
|