ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002227ClearOSapp-storage - Storagepublic2015-02-25 15:202021-01-18 05:23
Reportertaryck 
Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version6.5.0 
Target VersionFixed in Version 
Summary0002227: Storage Manager do not detect Physical Volume from LVM when directly mounted
DescriptionStorage manager seems to detect only partition on disk or formated disk.
Like described in the documentation digest below :

Before we can enable the Storage Manager, we need to first format and mount the data drive. Following the example in the above screenshot, the /dev/sdc drive is formatted using the following command: mkfs.ext4 /dev/sdX
Feel free to partition the disk, use LVM tools, etc. The only requirement is to have a mounted disk for data. The next step is to create the /etc/fstab entry to mount the new disk to /store:
/dev/sdc /store ext4 defaults 1 2
And then mount /store: mount /store

but when disk is directly added to pvs of LVM nothing is detected and disk is sugested to partition creation allowing to destroy the LVM physical volume.
Steps To Reproduceinstall Storage Manager
add new disk to system
call "pvcreate /dev/sdX"
Go to webconfig of Storage manager
/dev/sdX is not detected as used and create partition is proposed
Additional InformationShould make a pvs call to check is disk is used or not before offering to create partition.
Partition creation should be and otion that could be disabled in /etc/clearos/storage.conf
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001378)
taryck (reporter)
2015-02-25 15:58

or use blkid
[root@home etc]# blkid
/dev/sda: UUID="xxxx" TYPE="LVM2_member"
/dev/sdb: UUID="xxxx" TYPE="LVM2_member"
/dev/sdc: UUID="xxxx" TYPE="LVM2_member"
/dev/sdd: UUID="xxxx" TYPE="LVM2_member"
/dev/sde: UUID="xxxx" TYPE="LVM2_member"
/dev/sdf: UUID="xxxx" TYPE="LVM2_member"
/dev/sdg: UUID="xxxx" TYPE="LVM2_member"
/dev/sdn1: UUID="xxxx" TYPE="ext4"
/dev/sdn2: UUID="xxxx" TYPE="ext4"
/dev/sdn3: UUID="xxxx" TYPE="ext4"
/dev/sdn4: LABEL="swap" UUID="xxxx" TYPE="swap"
/dev/sdo1: LABEL="VMwareActive" UUID="xxxx" TYPE="ext4"
/dev/sdp1: LABEL="Home" UUID="xxxx" TYPE="ext4"
/dev/sdh: UUID="xxxx" TYPE="LVM2_member"
/dev/sdi: UUID="xxxx" TYPE="LVM2_member"
/dev/sdj: UUID="xxxx" TYPE="LVM2_member"
/dev/sdk: UUID="xxxx" TYPE="LVM2_member"
/dev/sdl: UUID="xxxx" TYPE="LVM2_member"
/dev/mapper/My_Group_1-My--Raid1_mimage_0: LABEL="TEST_R1" UUID="xxxx" TYPE="ext4"
/dev/mapper/My_Group_1-My--Raid1_mimage_1: LABEL="TEST_R1" UUID="xxxx" TYPE="ext4"
/dev/mapper/My_Group_1-My--Raid1: LABEL="TEST_R1" UUID="xxxx" TYPE="ext4"
/dev/mapper/My_Group_1-copy_HS: LABEL="TEST_R1" UUID="xxxx" TYPE="ext4"
/dev/mapper/My_Group_A-Save: LABEL="Save_Part" UUID="xxxx" TYPE="ext4"
/dev/mapper/My_Group_A-Store: LABEL="Film_Part" UUID="xxxx" TYPE="ext4"

Here /dev/sdm is free to create partition
(0001461)
user2
2015-04-20 07:47

Though the Storage Manager is available via the command line, it is only meant for the ClearOS Amazon EC2 an Linode cloud images. LVM support is not typically used in these environments and not available in the ClearOS cloud images.

We'll add LVM support at some point in the future.
(0015201)
NickH (developer)
2021-01-18 05:23

Storage Manager has been considerable reworked in 7.x.

- Issue History
Date Modified Username Field Change
2015-02-25 15:20 taryck New Issue
2015-02-25 15:58 taryck Note Added: 0001378
2015-04-20 07:47 user2 Note Added: 0001461
2015-04-20 07:47 user2 Severity major => tweak
2015-04-20 07:47 user2 Status new => confirmed
2021-01-18 05:23 NickH Note Added: 0015201
2021-01-18 05:23 NickH Status confirmed => closed
2021-01-18 05:23 NickH Resolution open => won't fix