Re: [gentoo-user] Partitions

2015-03-21 Thread Rich Freeman
On Sat, Mar 21, 2015 at 9:52 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote: Does it make sense to install a partition table on a RAID-1 device? When I was using mdadm I would do it all the time. It is the easiest way to do RAID with devices of different sizes. You just set up multiple arrays

[gentoo-user] Partitions

2015-03-21 Thread Peter Humphrey
Hello list, Does it make sense to install a partition table on a RAID-1 device? I assume it would only include a single partition table, but it might prevent some programs from complaining they don't recognise the partition type. I have one such device for /boot and another for lvm2 volumes.

Re: [gentoo-user] Partitions

2015-03-21 Thread Peter Humphrey
On Saturday 21 March 2015 11:18:44 Rich Freeman wrote: On Sat, Mar 21, 2015 at 9:52 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote: Does it make sense to install a partition table on a RAID-1 device? When I was using mdadm I would do it all the time. It is the easiest way to do RAID with

Re: [gentoo-user] Partitions

2015-03-21 Thread Rich Freeman
On Sat, Mar 21, 2015 at 2:14 PM, Peter Humphrey pe...@prh.myzen.co.uk wrote: On Saturday 21 March 2015 11:18:44 Rich Freeman wrote: On Sat, Mar 21, 2015 at 9:52 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote: Does it make sense to install a partition table on a RAID-1 device? When I was

Re: [gentoo-user] Partitions

2015-03-21 Thread Neil Bothwick
On Sat, 21 Mar 2015 18:14:38 +, Peter Humphrey wrote: I see I wasn't clear: I meant /dev/mdX resulting from combining /dev/sd[ab]X If you're creating a RAID array from partitions, you don't need to create further partitions. The only time I would partition an md device is if it were

Re: [gentoo-user] Partitions

2015-03-21 Thread Peter Humphrey
On Saturday 21 March 2015 21:01:14 Neil Bothwick wrote: On Sat, 21 Mar 2015 18:14:38 +, Peter Humphrey wrote: I see I wasn't clear: I meant /dev/mdX resulting from combining /dev/sd[ab]X If you're creating a RAID array from partitions, you don't need to create further partitions. The

Re: [gentoo-user] Partitions - last questions...

2013-04-28 Thread Florian Philipp
Am 24.04.2013 18:12, schrieb Tanstaafl: On 2013-04-24 11:31 AM, Florian Philipp li...@binarywings.net wrote: Am 24.04.2013 17:12, schrieb Tanstaafl: Ok, but - does it make sense to add the noexec option to /var/tmp? Is it possible that there are other apps that need exec capability in there?

Re: [gentoo-user] Partitions - last questions...

2013-04-24 Thread Tanstaafl
On 2013-04-23 1:59 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 23 Apr 2013 18:34:38 +0200, Florian Philipp wrote: So - first, is 5G way too big for the two /tmp dirs? I have lots of space, but hate waste If you worry about waste consider bind-mounting both from the same partition

Re: [gentoo-user] Partitions - last questions...

2013-04-24 Thread Florian Philipp
Am 24.04.2013 12:48, schrieb Tanstaafl: On 2013-04-23 1:59 PM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 23 Apr 2013 18:34:38 +0200, Florian Philipp wrote: So - first, is 5G way too big for the two /tmp dirs? I have lots of space, but hate waste If you worry about waste consider

Re: [gentoo-user] Partitions - last questions...

2013-04-24 Thread Tanstaafl
On 2013-04-24 8:48 AM, Florian Philipp li...@binarywings.net wrote: One thing I'm trying to do is make the system as secure as possible at the filesystem level, and I've read that making /tmp and /var/tmp separate partitions so you can mount them /nodev/noexec/nosuid is one way to make things a

Re: [gentoo-user] Partitions - last questions...

2013-04-24 Thread Florian Philipp
Am 24.04.2013 17:12, schrieb Tanstaafl: On 2013-04-24 8:48 AM, Florian Philipp li...@binarywings.net wrote: One thing I'm trying to do is make the system as secure as possible at the filesystem level, and I've read that making /tmp and /var/tmp separate partitions so you can mount them

Re: [gentoo-user] Partitions - last questions...

2013-04-24 Thread Tanstaafl
On 2013-04-23 12:34 PM, Florian Philipp li...@binarywings.net wrote: Am 23.04.2013 16:44, schrieb Tanstaafl: /boot (ext2), 100M /swap, 2G / (ext4), 40G then on LVM /tmp (ext2), 5G? - how big? /var/tmp (ext2), 5G? - how big? If this is a production server I wouldn't use ext2. In the case of

Re: [gentoo-user] Partitions - last questions...

2013-04-24 Thread Tanstaafl
On 2013-04-24 11:31 AM, Florian Philipp li...@binarywings.net wrote: Am 24.04.2013 17:12, schrieb Tanstaafl: Ok, but - does it make sense to add the noexec option to /var/tmp? Is it possible that there are other apps that need exec capability in there? It makes sense. Any world-writable

Re: [gentoo-user] Partitions - last questions...

2013-04-24 Thread Michael Mol
On 04/24/2013 11:39 AM, Tanstaafl wrote: On 2013-04-23 12:34 PM, Florian Philipp li...@binarywings.net wrote: Am 23.04.2013 16:44, schrieb Tanstaafl: /boot (ext2), 100M /swap, 2G / (ext4), 40G then on LVM /tmp (ext2), 5G? - how big? /var/tmp (ext2), 5G? - how big? If this is a

[gentoo-user] Partitions - last questions...

2013-04-23 Thread Tanstaafl
Ok, this is the last question I need to answer for myself before installing a final version of my new virtualized gentoo server... I'll be using the following partition layout: /boot (ext2), 100M /swap, 2G / (ext4), 40G then on LVM /tmp (ext2), 5G? - how big? /var/tmp (ext2), 5G? - how big?

Re: [gentoo-user] Partitions - last questions...

2013-04-23 Thread Florian Philipp
Am 23.04.2013 16:44, schrieb Tanstaafl: Ok, this is the last question I need to answer for myself before installing a final version of my new virtualized gentoo server... I'll be using the following partition layout: /boot (ext2), 100M /swap, 2G / (ext4), 40G then on LVM /tmp

Re: [gentoo-user] Partitions - last questions...

2013-04-23 Thread Neil Bothwick
On Tue, 23 Apr 2013 18:34:38 +0200, Florian Philipp wrote: So - first, is 5G way too big for the two /tmp dirs? I have lots of space, but hate waste If you worry about waste consider bind-mounting both from the same partition and install quotas to avoid one filling up the other. Or