Re: [Openstack] [SWIFT] Skipping disk as it is not mounted

2012-03-22 Thread Pete Zaitcev
On Thu, 22 Mar 2012 14:09:52 +
Leander Bessa leande...@gmail.com wrote:

 I'm installing swift on ubuntu 11.10 on a physical machine with and the
 partition mounted on /mnt/disk. I have a symbolic link on /srv/node/disk
 pointing to /mnt/disk and /srv/node belongs to swift:swift. The disk is
 mounted, but i keep getting the same error message.

Perhaps the symbolic link confuses the check (done with os.path.ismount()).
Either mount to /srv/node/disk or slap mount_check = false into
the *.conf files.

-- Pete

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [SWIFT] Skipping disk as it is not mounted

2012-03-22 Thread Leander Bessa
I've tried mounting it directly but it still didn't work. The only thing
that got it running was disabling the mount_check.

Thx.

On Thu, Mar 22, 2012 at 5:48 PM, Pete Zaitcev zait...@redhat.com wrote:

 On Thu, 22 Mar 2012 14:09:52 +
 Leander Bessa leande...@gmail.com wrote:

  I'm installing swift on ubuntu 11.10 on a physical machine with and the
  partition mounted on /mnt/disk. I have a symbolic link on /srv/node/disk
  pointing to /mnt/disk and /srv/node belongs to swift:swift. The disk is
  mounted, but i keep getting the same error message.

 Perhaps the symbolic link confuses the check (done with os.path.ismount()).
 Either mount to /srv/node/disk or slap mount_check = false into
 the *.conf files.

 -- Pete

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [SWIFT] Skipping disk as it is not mounted

2012-03-22 Thread Pete Zaitcev
On Thu, 22 Mar 2012 17:56:01 +
Leander Bessa leande...@gmail.com wrote:

 I've tried mounting it directly but it still didn't work. The only thing
 that got it running was disabling the mount_check.

You don't happen to sub-partition like SAIO does?

This works for me (2 volumes on 1 node for a moment):

[root@kvm-rei swift]# head -7 account-server/1.conf
[DEFAULT]
#devices = /srv/node
#mount_check = false
bind_port = 6012
user = swift
log_facility = LOG_LOCAL0

[root@kvm-rei swift]# grep vd /proc/mounts 
/dev/vda2 / ext4 rw,seclabel,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/vda1 /boot ext4 rw,seclabel,relatime,user_xattr,acl,barrier=1,data=ordered 
0 0
/dev/vdb /srv/node/vdb xfs 
rw,seclabel,noatime,nodiratime,attr2,delaylog,noquota 0 0
/dev/vdc /srv/node/vdc xfs 
rw,seclabel,noatime,nodiratime,attr2,delaylog,noquota 0 0
[root@kvm-rei swift]# 

-- Pete

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp