[ovirt-users] Adding posix compliant FS

Fred Rolland frolland at redhat.com
Fri Mar 17 19:06:50 UTC 2017


Please send Vdsm log.
Thanks

On Fri, Mar 17, 2017 at 8:46 PM, carl langlois <crl.langlois at gmail.com>
wrote:

> Hi,
>
> The link that you send is for NFS strorage but i am trying to add a POSIX
> compliant.
>
> [image: Inline image 1]
>
>
>
>
> when i press okey it mount the disk to :
>
> [root at ovhost4 ~]# ls -al /rhev/data-center/mnt/_dev_dm-4/
> total 28
> drwxr-xr-x. 4 vdsm kvm  4096 Mar 16 12:12 .
> drwxr-xr-x. 6 vdsm kvm  4096 Mar 17 13:35 ..
> drwxr-xr-x. 2 vdsm kvm 16384 Mar 16 11:42 lost+found
> drwxr-xr-x. 4 vdsm kvm  4096 Mar 16 12:12 .Trash-0
>
>
> and doing a touch with vdsm user work
>
> [root at ovhost4 ~]# sudo -u vdsm touch  /rhev/data-center/mnt/_dev_dm-4/test
> [root at ovhost4 ~]# ls -al /rhev/data-center/mnt/_dev_dm-4/
> total 28
> drwxr-xr-x. 4 vdsm kvm  4096 Mar 17 13:44 .
> drwxr-xr-x. 6 vdsm kvm  4096 Mar 17 13:35 ..
> drwxr-xr-x. 2 vdsm kvm 16384 Mar 16 11:42 lost+found
> -rw-r--r--. 1 vdsm kvm     0 Mar 17 13:44 test
> drwxr-xr-x. 4 vdsm kvm  4096 Mar 16 12:12 .Trash-0
>
>
> But it fail with a general exception error and the storage does not exist
> in ovirt
>
> any help would be appreciated.
>
>
> Which log you need to see?
>
> Thanks
>
>
>
> Le jeu. 16 mars 2017 17:02, Fred Rolland <frolland at redhat.com> a écrit :
>
>> Hi,
>>
>> Can you check if the folder permissions are OK ?
>> Check [1] for more details.
>>
>> Can you share more of the log ?
>>
>>
>> [1] https://www.ovirt.org/documentation/how-to/troubleshooting/t
>> roubleshooting-nfs-storage-issues/
>>
>> On Thu, Mar 16, 2017 at 7:49 PM, carl langlois <crl.langlois at gmail.com>
>> wrote:
>>
>> Hi Guys,
>>
>> I am trying to add a posix FS on one of my host. Ovirt in actually
>> mounting it but fail with "Error while executing action Add Storage
>> Connection: General Exception"
>>
>> If i look in the vdsm.log i cant see
>>
>> sonrpc.Executor/7::DEBUG::2017-03-16 12:39:28,248::fileUtils::209::Storage.fileUtils::(createdir)
>> Creating directory: /rhev/data-center/mnt/_dev_dm-3 mode: None
>> jsonrpc.Executor/7::DEBUG::2017-03-16 12:39:28,248::fileUtils::218::Storage.fileUtils::(createdir)
>> Using existing directory: /rhev/data-center/mnt/_dev_dm-3
>> jsonrpc.Executor/7::INFO::2017-03-16 12:39:28,248::mount::226::storage.Mount::(mount)
>> mounting /dev/dm-3 at /rhev/data-center/mnt/_dev_dm-3
>> jsonrpc.Executor/7::DEBUG::2017-03-16 12:39:28,270::utils::871::storage.Mount::(stopwatch)
>> /rhev/data-center/mnt/_dev_dm-3 mounted: 0.02 seconds
>> jsonrpc.Executor/7::ERROR::2017-03-16 12:39:28,271::hsm::2403::Storage.HSM::(connectStorageServer)
>> Could not connect to storageServer
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/storage/hsm.py", line 2400, in
>> connectStorageServer
>>     conObj.connect()
>>   File "/usr/share/vdsm/storage/storageServer.py", line 242, in connect
>>     self.getMountObj().getRecord().fs_file)
>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line
>> 260, in getRecord
>>     (self.fs_spec, self.fs_file))
>> OSError: [Errno 2] Mount of `/dev/dm-3` at `/rhev/data-center/mnt/_dev_dm-3`
>> does not exist
>>
>>
>> any help would be appreciated.
>>
>> Thanks
>>
>> CL
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170317/41402dc5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 27276 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170317/41402dc5/attachment-0001.png>


More information about the Users mailing list