English
« Back to projectatomic.io
Ask Your Question
0

How to add storage space?

asked 2016-03-31 15:11:55 +0000

fuero gravatar image

Scenario:

Single host (CentOS 7 Atomic), docker-storage-setup is done:

LV          VG      Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
root        cah     -wi-ao----  5.70g                                                    
docker-pool docker  twi-a-t---  7.99g             0.73   0.18                            
srv         storage -wi-a----- 20.00g

As far as I understand, the container's volumes (not the images) are to be put in /srv and I am unable to put that on a seperate disk.

Adding this to /etc/fstab renders the atomic box unbootable:

/dev/storage/srv      /srv                    ext4    defaults        0 0

How can I get more space in /srv? Is extending the root fs the only way?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-04-01 07:24:42 +0000

fuero gravatar image

As /srv is a symlink, it's supposed to be mounted to /var/srv:

/dev/storage/srv      /var/srv                    ext4    defaults        0 0
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

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2016-03-31 15:11:55 +0000

Seen: 309 times

Last updated: Apr 01 '16