<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: The importance of Linux partitions</title> <atom:link href="http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Pradeep Gurav</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-178839</link> <dc:creator>Pradeep Gurav</dc:creator> <pubDate>Fri, 20 Jan 2012 09:46:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-178839</guid> <description>Very good article.. I have question.. answer is already there in your blog but i just want to confirm.. Can we use options like &#039;defaults,nodev&#039; ?
some other blog i read about default options for ext3 are rw,suid,dev,exec,auto,nouser,async. if I give defaults[..dev..],nodev.. how it works.. whts final options ..dev..or..nodev
What are the default options? Is it specific to OS or file system..?</description> <content:encoded><![CDATA[<p>Very good article.. I have question.. answer is already there in your blog but i just want to confirm.. Can we use options like &#8216;defaults,nodev&#8217; ?</p><p>some other blog i read about default options for ext3 are rw,suid,dev,exec,auto,nouser,async. if I give defaults[..dev..],nodev.. how it works.. whts final options ..dev..or..nodev</p><p>What are the default options? Is it specific to OS or file system..?</p> ]]></content:encoded> </item> <item><title>By: priyanka singh</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-178489</link> <dc:creator>priyanka singh</dc:creator> <pubDate>Fri, 13 Jan 2012 10:49:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-178489</guid> <description>thank you for wonderful information provided by you</description> <content:encoded><![CDATA[<p>thank you for wonderful information provided by you</p> ]]></content:encoded> </item> <item><title>By: Dean Voets</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-175152</link> <dc:creator>Dean Voets</dc:creator> <pubDate>Sun, 23 Oct 2011 23:48:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-175152</guid> <description>Thank you for the information. I&#039;ve got some questions (and some answers for the previous questions :)):
1) What do you recommend for the /boot partition?
2) Is it possible to use two partitions for /tmp (one as tmpfs and one on the harddisk)?
3) You mention using  for backuping up: which filesystems can be backed up like that? It would be intresting, but I always thought that was restricted to ext2.
Some answers/ opinions about the questions asked earlier:
I&#039;m about to reinstall my linux (with 7 partitions) and just checked how much was used &amp; checked the average file size:
/boot: 37 megabytes with grub 2 booting windows 7 &amp; xubuntu, average filesize +- 300kb.
/usr: 4.3 gygabytes including most texwork packages (Latex), eclipse, all codecs, etc. Average size: 40kb
/var: 340 megabytes, average size 60kb
/opt &amp; /srv are basically empty
/tmp is mounted as tmpfs.
/: 255mb, average file size about 10kb.
I didn&#039;t look at /home and the swap.
Now, I&#039;m going for 100mb /boot, 8 gb /usr, 1 gb /var, 1 gb /, 8 gb swap (probably excessive) and I&#039;m leaving the remaining part for home. /tmp will again be mounted as tmpfs and I&#039;ll link /opt to /usr/opt. Comments/tips are always appreciated :).
Best filesystem to use:
Ext4 is probably not a bad choice if you are unsure. When Ext3 was the new one, I also considered ext2 since that could be read in windows (not easily) but I don&#039;t think there is any windows support for current Linux filesystems. Ntfs works reasonably well in Linux but I would keep it out of the system partitions since it&#039;s rather slow.
About installing on a primary or logical partition. The /boot partition should be on a primary partition, all others can/should be extended partitions.
In case of a dual-boot with windows 7, you should first install windows which will create two primary partitions and then install linux. Make sure that you keep the bootable flag at the windows partition.
You can also install windows 7, windows XP and linux by making the partitions upfront, choosing an extended partition for Windows 7 (it&#039;s bootpartition will be the first primary one), then installing windows XP at the second primary partition and finishing with Linux.</description> <content:encoded><![CDATA[<p>Thank you for the information. I&#8217;ve got some questions (and some answers for the previous questions :)):</p><p>1) What do you recommend for the /boot partition?<br
/> 2) Is it possible to use two partitions for /tmp (one as tmpfs and one on the harddisk)?<br
/> 3) You mention using  for backuping up: which filesystems can be backed up like that? It would be intresting, but I always thought that was restricted to ext2.</p><p>Some answers/ opinions about the questions asked earlier:<br
/> I&#8217;m about to reinstall my linux (with 7 partitions) and just checked how much was used &amp; checked the average file size:</p><p>/boot: 37 megabytes with grub 2 booting windows 7 &amp; xubuntu, average filesize +- 300kb.<br
/> /usr: 4.3 gygabytes including most texwork packages (Latex), eclipse, all codecs, etc. Average size: 40kb<br
/> /var: 340 megabytes, average size 60kb<br
/> /opt &amp; /srv are basically empty<br
/> /tmp is mounted as tmpfs.<br
/> /: 255mb, average file size about 10kb.<br
/> I didn&#8217;t look at /home and the swap.<br
/> Now, I&#8217;m going for 100mb /boot, 8 gb /usr, 1 gb /var, 1 gb /, 8 gb swap (probably excessive) and I&#8217;m leaving the remaining part for home. /tmp will again be mounted as tmpfs and I&#8217;ll link /opt to /usr/opt. Comments/tips are always appreciated :).</p><p>Best filesystem to use:<br
/> Ext4 is probably not a bad choice if you are unsure. When Ext3 was the new one, I also considered ext2 since that could be read in windows (not easily) but I don&#8217;t think there is any windows support for current Linux filesystems. Ntfs works reasonably well in Linux but I would keep it out of the system partitions since it&#8217;s rather slow.</p><p>About installing on a primary or logical partition. The /boot partition should be on a primary partition, all others can/should be extended partitions.<br
/> In case of a dual-boot with windows 7, you should first install windows which will create two primary partitions and then install linux. Make sure that you keep the bootable flag at the windows partition.<br
/> You can also install windows 7, windows XP and linux by making the partitions upfront, choosing an extended partition for Windows 7 (it&#8217;s bootpartition will be the first primary one), then installing windows XP at the second primary partition and finishing with Linux.</p> ]]></content:encoded> </item> <item><title>By: Sam</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-174711</link> <dc:creator>Sam</dc:creator> <pubDate>Sun, 09 Oct 2011 00:42:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-174711</guid> <description>hi,
Linux is a complicated but powerful bitch - made worse by &#039;tutors&#039; who never seem to use diagrams to explain what the hack is going on. you just go from one complexity to the next. if i ever [ unlikely! ] get good at Linux, i&#039;ll write a book full of diagrams and pictures as well as properly headed/tabbed text to make sure normal people can really understand Linux.
please rewrite this using diagrams &amp; explaining:
1] what exactly is a partition - types, quantity
2] how a hard disk is organised
3] what is the difference between windows and linux as far as hard drive concerned
4] what&#039;s the best HD config for a webserver [ that&#039;s what most people do ]
5] what file sytems to use best &amp; why
6] how to back up ecah partition
7] how to restore each partition
8] how to recover/rebuild from a crash
you have to know the whole thing - you well know bits of knowledge don&#039;t get you very far and can easily land you in deep trouble.
cheers.</description> <content:encoded><![CDATA[<p>hi,</p><p>Linux is a complicated but powerful bitch &#8211; made worse by &#8216;tutors&#8217; who never seem to use diagrams to explain what the hack is going on. you just go from one complexity to the next. if i ever [ unlikely! ] get good at Linux, i&#8217;ll write a book full of diagrams and pictures as well as properly headed/tabbed text to make sure normal people can really understand Linux.</p><p>please rewrite this using diagrams &amp; explaining:</p><p>1] what exactly is a partition &#8211; types, quantity<br
/> 2] how a hard disk is organised<br
/> 3] what is the difference between windows and linux as far as hard drive concerned<br
/> 4] what&#8217;s the best HD config for a webserver [ that's what most people do ]<br
/> 5] what file sytems to use best &amp; why<br
/> 6] how to back up ecah partition<br
/> 7] how to restore each partition<br
/> 8] how to recover/rebuild from a crash</p><p>you have to know the whole thing &#8211; you well know bits of knowledge don&#8217;t get you very far and can easily land you in deep trouble.</p><p>cheers.</p> ]]></content:encoded> </item> <item><title>By: balwinder kaur</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-172324</link> <dc:creator>balwinder kaur</dc:creator> <pubDate>Thu, 07 Jul 2011 10:00:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-172324</guid> <description>good site for linux</description> <content:encoded><![CDATA[<p>good site for linux</p> ]]></content:encoded> </item> <item><title>By: Rakib</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-170894</link> <dc:creator>Rakib</dc:creator> <pubDate>Mon, 25 Apr 2011 05:48:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-170894</guid> <description>Excellent!! Thanks, I was also a stupit who did only 2 partitions. But From now on I will do multiple partitions. But can any one tell what should be the percentage of all those partition depending on the total amount of hard disk??</description> <content:encoded><![CDATA[<p>Excellent!! Thanks, I was also a stupit who did only 2 partitions. But From now on I will do multiple partitions. But can any one tell what should be the percentage of all those partition depending on the total amount of hard disk??</p> ]]></content:encoded> </item> <item><title>By: Steve</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-168802</link> <dc:creator>Steve</dc:creator> <pubDate>Thu, 17 Feb 2011 06:46:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-168802</guid> <description>I&#039;m also interested in suggested partition sizes. I&#039;m currently building an Arch Linux system and have decided to start with LVM on LUKS for logical partitioning/resizing of a dm-crypt&#039;ed filesystem. Since my goal is a secure system I want to divide my partitions up sensibly and was hoping to find some general starting points. I can always resize later with LVM if I need more or less space.
Thanks for a great article! When I worked in web hosting we used to set up and mount our server partitions like this and it probably mitigated a lot of attacks. We used to have to root out perl hacks running in /tmp all the time before we started employing these techniques.</description> <content:encoded><![CDATA[<p>I&#8217;m also interested in suggested partition sizes. I&#8217;m currently building an Arch Linux system and have decided to start with LVM on LUKS for logical partitioning/resizing of a dm-crypt&#8217;ed filesystem. Since my goal is a secure system I want to divide my partitions up sensibly and was hoping to find some general starting points. I can always resize later with LVM if I need more or less space.</p><p>Thanks for a great article! When I worked in web hosting we used to set up and mount our server partitions like this and it probably mitigated a lot of attacks. We used to have to root out perl hacks running in /tmp all the time before we started employing these techniques.</p> ]]></content:encoded> </item> <item><title>By: GrahamCB</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-161618</link> <dc:creator>GrahamCB</dc:creator> <pubDate>Fri, 03 Dec 2010 17:16:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-161618</guid> <description>Really informative material. I am a linux newbie and am getting ready to switch from the default distro load on a single partition to a proper partition arrangement. I thought a hard dive could have only 4 primary partitions so duhh some of the suggested partitions must be logical drives within an extended partition? If yes, will this be easy to do and what should be on it? Thanks in advance guys.</description> <content:encoded><![CDATA[<p>Really informative material. I am a linux newbie and am getting ready to switch from the default distro load on a single partition to a proper partition arrangement. I thought a hard dive could have only 4 primary partitions so duhh some of the suggested partitions must be logical drives within an extended partition? If yes, will this be easy to do and what should be on it? Thanks in advance guys.</p> ]]></content:encoded> </item> <item><title>By: crook</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-160909</link> <dc:creator>crook</dc:creator> <pubDate>Wed, 10 Nov 2010 04:48:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-160909</guid> <description>can anyone please tell what are the advantages of having an entry for non critical file systems in /etc/fstab</description> <content:encoded><![CDATA[<p>can anyone please tell what are the advantages of having an entry for non critical file systems in /etc/fstab</p> ]]></content:encoded> </item> <item><title>By: Rick</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-155413</link> <dc:creator>Rick</dc:creator> <pubDate>Mon, 26 Apr 2010 18:02:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-155413</guid> <description>Great article, thanks for posting it &amp; comments by readers, very helpful!</description> <content:encoded><![CDATA[<p>Great article, thanks for posting it &amp; comments by readers, very helpful!</p> ]]></content:encoded> </item> <item><title>By: faber</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154728</link> <dc:creator>faber</dc:creator> <pubDate>Sat, 03 Apr 2010 00:03:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154728</guid> <description>Should we consider logical volumes like centos (and I suppose redhat) does?</description> <content:encoded><![CDATA[<p>Should we consider logical volumes like centos (and I suppose redhat) does?</p> ]]></content:encoded> </item> <item><title>By: faber</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154727</link> <dc:creator>faber</dc:creator> <pubDate>Fri, 02 Apr 2010 23:56:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154727</guid> <description>I know that talking about absolute space (give X GB to /usr, Y GB to /home) could have no sense at all since we could have different hard disk size.
Maybe we should talk in percentages... I don&#039;t know :)</description> <content:encoded><![CDATA[<p>I know that talking about absolute space (give X GB to /usr, Y GB to /home) could have no sense at all since we could have different hard disk size.</p><p>Maybe we should talk in percentages&#8230; I don&#8217;t know :)</p> ]]></content:encoded> </item> <item><title>By: faber</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154726</link> <dc:creator>faber</dc:creator> <pubDate>Fri, 02 Apr 2010 23:54:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154726</guid> <description>I&#039;ve found your blog on google for my last 4-5 questions about linux ... LOL I definetly add your blog to my feed reader.
Btw I have a question.
How much space should I give to each partition? I used to have /, swap and /home partition  and it was quite easy to split an hdd.
With 7 partition (and a few knowledge) it&#039;s not ! :P
Thank you!</description> <content:encoded><![CDATA[<p>I&#8217;ve found your blog on google for my last 4-5 questions about linux &#8230; LOL I definetly add your blog to my feed reader.</p><p>Btw I have a question.<br
/> How much space should I give to each partition? I used to have /, swap and /home partition  and it was quite easy to split an hdd.<br
/> With 7 partition (and a few knowledge) it&#8217;s not ! :P</p><p>Thank you!</p> ]]></content:encoded> </item> <item><title>By: Philippe</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154315</link> <dc:creator>Philippe</dc:creator> <pubDate>Tue, 16 Mar 2010 10:06:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-154315</guid> <description>Useful and thorough article, thanks Vivek.</description> <content:encoded><![CDATA[<p>Useful and thorough article, thanks Vivek.</p> ]]></content:encoded> </item> <item><title>By: punktyras</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-152229</link> <dc:creator>punktyras</dc:creator> <pubDate>Thu, 10 Dec 2009 20:26:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-152229</guid> <description>For example entry in /etc/fstabe for /home should read as follows:
/etc/fstabe -&gt; /etc/fstab</description> <content:encoded><![CDATA[<p>For example entry in /etc/fstabe for /home should read as follows:<br
/> /etc/fstabe -&gt; /etc/fstab</p> ]]></content:encoded> </item> <item><title>By: Hosting Reviews</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146588</link> <dc:creator>Hosting Reviews</dc:creator> <pubDate>Tue, 06 Jan 2009 16:55:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146588</guid> <description>It&#039;s amazing how many people don&#039;t realize that your system can be quite vulnerable if you don&#039;t have a partition schema, Great Post!</description> <content:encoded><![CDATA[<p>It&#8217;s amazing how many people don&#8217;t realize that your system can be quite vulnerable if you don&#8217;t have a partition schema, Great Post!</p> ]]></content:encoded> </item> <item><title>By: Mikael Ståldal</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146047</link> <dc:creator>Mikael Ståldal</dc:creator> <pubDate>Mon, 08 Dec 2008 12:57:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146047</guid> <description>Consider mounting /tmp as tmpfs.</description> <content:encoded><![CDATA[<p>Consider mounting /tmp as tmpfs.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146046</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 08 Dec 2008 12:56:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146046</guid> <description>@Bartek,
To resize partition use
* SystemRescueCd
* BootitNG
* GParted
Make sure you got back of all data before trying out resizing operation.</description> <content:encoded><![CDATA[<p>@Bartek,</p><p>To resize partition use<br
/> * SystemRescueCd<br
/> * BootitNG<br
/> * GParted</p><p>Make sure you got back of all data before trying out resizing operation.</p> ]]></content:encoded> </item> <item><title>By: Bartek</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146044</link> <dc:creator>Bartek</dc:creator> <pubDate>Mon, 08 Dec 2008 12:32:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-146044</guid> <description>Good article. If I have an existing Ubuntu installation, what would you recommend for resizing the partitions?
Right now I only have / and /home so it&#039;s not horrible a there is some separation, but you made a valid point on separating /var and the others.</description> <content:encoded><![CDATA[<p>Good article. If I have an existing Ubuntu installation, what would you recommend for resizing the partitions?</p><p>Right now I only have / and /home so it&#8217;s not horrible a there is some separation, but you made a valid point on separating /var and the others.</p> ]]></content:encoded> </item> <item><title>By: Nabin Limbu</title><link>http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-141876</link> <dc:creator>Nabin Limbu</dc:creator> <pubDate>Fri, 16 Nov 2007 13:52:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/the-importance-of-linux-partitions.html#comment-141876</guid> <description>If noexec is enabled in /var, then it can create problem to cgi-bin scripts which are normally stored in /var/www/cgi-bin</description> <content:encoded><![CDATA[<p>If noexec is enabled in /var, then it can create problem to cgi-bin scripts which are normally stored in /var/www/cgi-bin</p> ]]></content:encoded> </item> </channel> </rss>
