Please send Vdsm log.ThanksOn Fri, Mar 17, 2017 at 8:46 PM, carl langlois <crl.langlois@gmail.com> wrote:Hi,The link that you send is for NFS strorage but i am trying to add a POSIX compliant.when i press okey it mount the disk to :[root@ovhost4 ~]# ls -al /rhev/data-center/mnt/_dev_dm-4/ total 28drwxr-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+founddrwxr-xr-x. 4 vdsm kvm 4096 Mar 16 12:12 .Trash-0and doing a touch with vdsm user work[root@ovhost4 ~]# sudo -u vdsm touch /rhev/data-center/mnt/_dev_dm-4/test [root@ovhost4 ~]# ls -al /rhev/data-center/mnt/_dev_dm-4/ total 28drwxr-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 testdrwxr-xr-x. 4 vdsm kvm 4096 Mar 16 12:12 .Trash-0But it fail with a general exception error and the storage does not exist in ovirtany help would be appreciated.Which log you need to see?ThanksLe jeu. 16 mars 2017 17:02, Fred Rolland <frolland@redhat.com> a écrit :Can you share more of the log ?Check [1] for more details.Hi,Can you check if the folder permissions are OK ?On Thu, Mar 16, 2017 at 7:49 PM, carl langlois <crl.langlois@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 seesonrpc.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::stor age.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::stor age.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::Stora ge.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.ThanksCL_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users