Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 916228

Summary: VDSM - Storage: Can't create PosixFS domain on filesystem on LV
Product: Red Hat Enterprise Virtualization Manager Reporter: Daniel Paikov <dpaikov>
Component: vdsmAssignee: Ayal Baron <abaron>
Status: CLOSED WONTFIX QA Contact: Haim <hateya>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, amureini, bazulay, hateya, iheim, jkt, lpeer, yeylon
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-01 19:56:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm.log none

Description Daniel Paikov 2013-02-27 15:11:33 UTC
* Create VG + LV manually.
* Create filesystem on LV (ext4 in my example).
* Try to create a PosixFS/ext4 domain on LV.
* Create fails.

Thread-5680::INFO::2013-02-27 17:05:32,481::logUtils::37::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=6, spUUID='00000000-0000-0000-0000-00000
0000000', conList=[{'port': '', 'connection': '/dev/blah/blah1', 'iqn': '', 'portal': '', 'user': '', 'vfs_type': 'ext4', 'password': '******', 'id': '00000000-0000-0
000-0000-000000000000'}], options=None)
Thread-5680::DEBUG::2013-02-27 17:05:32,488::misc::83::Storage.Misc.excCmd::(<lambda>) '/usr/bin/sudo -n /bin/mount -t ext4 /dev/blah/blah1 /rhev/data-center/mnt/_dev
_blah_blah1' (cwd None)
Thread-5680::ERROR::2013-02-27 17:05:32,746::hsm::2241::Storage.HSM::(connectStorageServer) Could not connect to storageServer
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2237, in connectStorageServer
    conObj.connect()
  File "/usr/share/vdsm/storage/storageServer.py", line 208, in connect
    fileSD.validateDirAccess(self.getMountObj().getRecord().fs_file)
  File "/usr/share/vdsm/storage/mount.py", line 244, in getRecord
    (self.fs_spec, self.fs_file))
OSError: [Errno 2] Mount of `/dev/blah/blah1` at `/rhev/data-center/mnt/_dev_blah_blah1` does not exist

Comment 1 Daniel Paikov 2013-02-27 15:13:52 UTC
Created attachment 703489 [details]
vdsm.log

Comment 3 Ayal Baron 2013-02-27 20:49:29 UTC
The purpose of PosixFS is mostly to support shared/clustered file systems.  an fs on an lv is not shared and is not a very interesting use case.

Comment 5 Itamar Heim 2013-12-01 19:56:43 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.