First i connect the disk to a pc with sata.
Then i perpare a usb stick with a ubuntu live and boot from it.
Next i install the LVM2 software package with the thin-provisioning-tools.
And then i do this steps:
Code: Select all
parted -l
Model: ATA WDC WD800JD-55MU (scsi)
Disk /dev/sda: 80,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 368MB 367MB primary ntfs boot
2 368MB 52,4GB 52,1GB primary ntfs
3 52,4GB 80,0GB 27,6GB primary ntfs
Model: ATA SAMSUNG HD154UI (scsi)
Disk /dev/sdb: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20,5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 1491GB 1490GB primary
4 1491GB 1492GB 543MB ext3 primary
5 1492GB 1500GB 8554MB linux-swap(v1) primary
Warning: Unable to open /dev/sr0 read-write (Das Dateisystem ist nur lesbar).
/dev/sr0 has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Error: /dev/zram0: unrecognised disk label
Warning: Unable to open /dev/cloop0 read-write (Das Dateisystem ist nur lesbar).
/dev/cloop0 has been opened read-only.
Error: /dev/cloop0: unrecognised disk label
Code: Select all
mdadm --assemble --scan
mdadm: /dev/md/321 has been started with 1 drive (out of 2).
mdadm: /dev/md/13 has been started with 1 drive (out of 24).
mdadm: /dev/md/2 has been started with 1 drive.
mdadm: /dev/md/256 assembled from 0 drives and 1 spare - not enough to start the array.
mdadm: /dev/md/9 has been started with 1 drive (out of 24).
mdadm: /dev/md/256 assembled from 0 drives and 1 spare - not enough to start the array.
Code: Select all
cat /proc/mdstat
Personalities : [raid1]
md9 : active raid1 sdb1[25]
530048 blocks super 1.0 [24/1] [__U_____________________]
bitmap: 1/1 pages [4KB], 65536KB chunk
md2 : active raid1 sdb3[0]
1455183616 blocks super 1.0 [1/1] [U]
md13 : active raid1 sdb4[25]
458880 blocks super 1.0 [24/1] [__U_____________________]
bitmap: 1/1 pages [4KB], 65536KB chunk
md321 : active raid1 sdb5[0]
8353728 blocks super 1.0 [2/1] [U_]
bitmap: 1/1 pages [4KB], 65536KB chunk
unused devices: <none>
Code: Select all
lvscan
WARNING: Unrecognised segment type thin-pool
WARNING: Unrecognised segment type thick
inactive '/dev/vg2/lv545' [13,88 GiB] inherit
inactive '/dev/vg2/tp2' [1,33 TiB] inherit
inactive '/dev/vg2/lv2' [1,32 TiB] inherit
Code: Select all
vgdisplay
WARNING: Unrecognised segment type thin-pool
WARNING: Unrecognised segment type thick
--- Volume group ---
VG Name vg2
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 1,36 TiB
PE Size 4,00 MiB
Total PE 355269
Alloc PE / Size 355269 / 1,36 TiB
Free PE / Size 0 / 0
VG UUID 2ktkBf-OyrR-eZub-NSMN-25gh-Lqyc-Ta0Vvu
Code: Select all
lvdisplay
WARNING: Unrecognised segment type thin-pool
WARNING: Unrecognised segment type thick
--- Logical volume ---
LV Path /dev/vg2/lv545
LV Name lv545
VG Name vg2
LV UUID OAoDN1-l61r-PxPb-jSmo-vAZr-tzWY-bWdNOS
LV Write Access read/write
LV Creation host, time QNAPTS469L, 2014-07-08 23:28:04 +0200
LV Status NOT available
LV Size 13,88 GiB
Current LE 3552
Segments 1
Allocation inherit
Read ahead sectors 4096
--- Logical volume ---
LV Path /dev/vg2/tp2
LV Name tp2
VG Name vg2
LV UUID 7yu5BA-oiTW-LPOs-auKR-1FgA-d0FA-gjdDV0
LV Write Access read/write
LV Creation host, time QNAPTS469L, 2014-07-08 23:28:14 +0200
LV Status NOT available
LV Size 1,33 TiB
Current LE 347621
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/vg2/lv2
LV Name lv2
VG Name vg2
LV UUID lZeI1R-O5M2-Gjtx-Y1Qu-cZYQ-4xNQ-WzJ0wL
LV Write Access read/write
LV Creation host, time QNAPTS469L, 2014-07-08 23:28:18 +0200
LV Status NOT available
LV Size 1,32 TiB
Current LE 347108
Segments 1
Allocation inherit
Read ahead sectors 4096
Code: Select all
modprobe dm_mod
lsmod| grep dm_
dm_thin_pool 45785 0
dm_persistent_data 54412 1 dm_thin_pool
dm_bufio 22204 1 dm_persistent_data
dm_bio_prison 14968 1 dm_thin_pool
libcrc32c 12543 2 btrfs,dm_persistent_data
dm_crypt 22622 0
dm_multipath 22402 0
scsi_dh 14458 1 dm_multipath
dm_mirror 21756 0
dm_region_hash 20121 1 dm_mirror
dm_log 18072 2 dm_region_hash,dm_mirror
Code: Select all
lvscan
WARNING: Unrecognised segment type thick
ACTIVE '/dev/vg2/lv545' [13,88 GiB] inherit
ACTIVE '/dev/vg2/tp2' [1,33 TiB] inherit
inactive '/dev/vg2/lv2' [1,32 TiB] inherit
Last information
Code: Select all
root@ubuntu:/mnt# vgscan
Reading all physical volumes. This may take a while...
WARNING: Unrecognised segment type thick
Found volume group "vg2" using metadata type lvm2
Code: Select all
root@ubuntu:/mnt# vgdisplay
WARNING: Unrecognised segment type thick
--- Volume group ---
VG Name vg2
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 1,36 TiB
PE Size 4,00 MiB
Total PE 355269
Alloc PE / Size 355269 / 1,36 TiB
Free PE / Size 0 / 0
VG UUID 2ktkBf-OyrR-eZub-NSMN-25gh-Lqyc-Ta0Vvu
As a next test, i install a clean and small disk (200GB) alone. Install the system on it and create a volume type thick on it. Then i do the above described steps. The same result