[Openstack] Remounting drives

Morten Møller Riis mmr at gigahost.dk
Fri Aug 16 02:28:32 UTC 2013


Thanks guys.

I guess my questions was mostly an effort to try an understand how the ring reference affects local mounts.

If eg. two disks are mounted as:

/dev/sda1 as /srv/node/disk1
/dev/sdb1 as /srv/node/disk2

If these are then umount and mounted as:

/dev/sdb1 as /srv/node/disk1
/dev/sda1 as /srv/node/disk2

What will happen? Will the disks be resynced according to some reference in the ring or will they just continue to work with there respective objects/accounts/containers that are already stored on them?

Mvh / Best regards
Morten Møller Riis
Gigahost ApS
mmr at gigahost.dk




On Aug 16, 2013, at 3:18 AM, Samuel Merritt <sam at swiftstack.com> wrote:

> On 8/15/13 12:50 AM, Morten Møller Riis wrote:
>> After an apt-get upgrade on one of the object/account/container servers
>> Ubuntu decided to rename the devices.
>> 
>> I've been running with the following structure:
>> 
>> /srv/node/sda1
>> /srv/node/sdb1
>> /srv/node/sdc1
>> /srv/node/sdd1
>> 
>> sde and sdf are system disks in a software raid 1 array (md0). After
>> rebooting the disks came up as sda and sdb.
>> 
>> I've remounted the now sde1 and sdf1 as /srv/node/sda1 and /srv/node/sdb1.
>> 
>> My question is, will this mess something up? I know the mount points are
>> references directly in the ring (therefore mounting them at the previous
>> mount points).
> 
> It'll be fine. The thing referenced in the ring is a mount point, so just mount the device (whatever its name) at /srv/node/sda1 and it'll work as before.
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130816/b9618d24/attachment.html>


More information about the Openstack mailing list