Please review my partitions/fstab

I love my Linode. I created a new CentOS profile with these disk images based upon what I found suggested in forums:

/ = 4GB

/tmp = 512MB

/opt = 50GB

/var = 1GB

After bootup, I modified fstab to look like below and remounted everything. It is all working just fine, but I would love for a second opinion that I have everything set correctly.

My Linode will be running a single LAMP website - all data (html/mysql) will be saved in /opt.

# <file system=""><mount point=""><type><options><dump><pass>proc            /proc           proc    defaults        0       0
/dev/xvda       /               ext3    noatime,errors=remount-ro 1       1
/dev/xvdb       none            swap    sw              0       0
/dev/xvdc       /tmp            ext3    noexec,nosuid   1       2
/dev/xvdd       /var            ext3    defaults        1       3
/dev/xvde       /opt            ext3    defaults        1       4</pass></dump></options></type></mount></file> 

TIA,

Roger

2 Replies

The sixth column (pass), should only have 0, 1 or 2. So 0 for /proc and swap, 1 for / and 2 for /tmp are OK, but you need to put a 2 for in that field for /var and /opt.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct