Ask Your Question
0

Necessary to mount a partition for swift ?

asked 2015-02-12 17:04:58 -0500

vongolashu gravatar image

For swift storage nodes, is it necessary that you create a new partition of xxGB and mount it as a mount point of its own ?

If I have 1TB on my mount point /, can't I just create /srv/node without creating a unique partition for it and use the storage node ? And in case if you do need a partition for mount point, is it safe to create a partition within my 1TB / partition ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-02-15 12:07:07 -0500

torgomatic gravatar image

You can set mount_check = false in the various Swift config files to let you use a plain old directory that isn't a mount point.

The usual reason for setting that is to avoid scribbling objects onto the root filesystem. If you've got, say, a 1TB root and 48 4TB data disks, then you'll definitely want mount_check = true (the default). Otherwise, you get one or two disks unmounted and then replication fills up your root filesystem.

edit flag offensive delete link more
0

answered 2015-02-13 11:00:35 -0500

Hi, use a single partition per drive. There is no compulsion of creating new partition of xxGb. You can also try with simple small xxGB external drive also.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-12 17:04:58 -0500

Seen: 352 times

Last updated: Feb 15 '15