Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My server is running CentOS 6.5. I created a LUN on Storwize 3700 and had named it /dev/mapper/lun1 (I used multipath). And then I created a partition on it and formated it as ext4.

When I type fdisk -l, it displayed:

Disk /dev/mapper/lun1: 9999.8 GB, 9999757606912 bytes
255 heads, 63 sectors/track, 1215734 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

           Device Boot      Start         End      Blocks   Id  System
/dev/mapper/lun1p1               1      267350  2147483647+  ee  GPT

Disk /dev/mapper/lun1p1: 9999.8 GB, 9999755509760 bytes
255 heads, 63 sectors/track, 1215734 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

After that i could mount and use it.

After that I reinstalled CentOS on my server. It displayed only information of /dev/mapper/lun1 (and did not display information of /dev/mapper/lun1p1) when I used fdisk -l

Disk /dev/mapper/lun1: 9999.8 GB, 9999757606912 bytes
255 heads, 63 sectors/track, 1215734 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

           Device Boot      Start         End      Blocks   Id  System
/dev/mapper/lun1p1               1      267350  2147483647+  ee  GPT

I used parted -l but it did not display partition created in /dev/mapper/lun1 .

Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/lun1: 10000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End      Size     File system  Name     Flags

What should I do now to use this partition, because it has data on it?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.