From magawake at gmail.com Mon May 9 22:40:20 2011 From: magawake at gmail.com (Mag Gam) Date: Mon, 9 May 2011 18:40:20 -0400 Subject: Using stride on non-RAID In-Reply-To: <84874DA1-AB26-413B-9496-D1CD7986FDAE@jabberwocky.com> References: <4D7FEE03.3020809@redhat.com> <84874DA1-AB26-413B-9496-D1CD7986FDAE@jabberwocky.com> Message-ID: Are stride settings needed for Hardware RAID devices? For example, if I do a RAID 5 on a HP-P800 I get a 9.1TB filesystem. Should I worry about stride in that case? On Wed, Mar 16, 2011 at 2:02 PM, David Shaw wrote: > On Mar 15, 2011, at 6:53 PM, Eric Sandeen wrote: > >> On 3/15/11 5:42 PM, David Shaw wrote: >>> Hello, >>> >>> I understand the need for a proper stride setting when formatting a >>> filesystem on a RAID device. ?However, is there any problem in using >>> a stride setting when formatting a filesystem on a regular non-RAID, >>> non-SSD, just plain-vanilla-single-disk block device? ?I'm sure there >>> isn't any benefit to it, but I'm curious if there is any harm. >>> >>> The reason I ask is I'm looking at some code here that can be used on >>> either RAID or non-RAID devices. ?The stride setting it has is >>> correct for the particular RAID setup it is intended for, but it also >>> uses those settings when formatting a non-RAID device. >>> >>> David >> >> just FWIW, recent kernels & e2fsprogs will just automatically pick >> stride based on storage geometry - for md/lvm at least, and for >> scsi devices that export this geometry as well. >> >> ext4 has a little stripe-awareness in its allocator; otherwise, stride >> just staggers bitmap starts so they don't all end up on the same spindle; [1] >> Offhand I don't think it'd cause any harm to set stride on non-raid. > > Thanks very much for your pointers. ?It's a nice enhancement that this is done automatically now. > > David > > > _______________________________________________ > Ext3-users mailing list > Ext3-users at redhat.com > https://www.redhat.com/mailman/listinfo/ext3-users > From sandeen at redhat.com Mon May 9 23:03:22 2011 From: sandeen at redhat.com (Eric Sandeen) Date: Mon, 09 May 2011 18:03:22 -0500 Subject: Using stride on non-RAID In-Reply-To: References: <4D7FEE03.3020809@redhat.com> <84874DA1-AB26-413B-9496-D1CD7986FDAE@jabberwocky.com> Message-ID: <4DC872BA.9010300@redhat.com> On 5/9/11 5:40 PM, Mag Gam wrote: > Are stride settings needed for Hardware RAID devices? > > For example, if I do a RAID 5 on a HP-P800 I get a 9.1TB filesystem. > Should I worry about stride in that case? stride is useful so that you don't end up with metadata hotspots on a single disk. this is true whether the disks are raided together in hardware or in software, I think. -Eric > > On Wed, Mar 16, 2011 at 2:02 PM, David Shaw wrote: >> On Mar 15, 2011, at 6:53 PM, Eric Sandeen wrote: >> >>> On 3/15/11 5:42 PM, David Shaw wrote: >>>> Hello, >>>> >>>> I understand the need for a proper stride setting when formatting a >>>> filesystem on a RAID device. However, is there any problem in using >>>> a stride setting when formatting a filesystem on a regular non-RAID, >>>> non-SSD, just plain-vanilla-single-disk block device? I'm sure there >>>> isn't any benefit to it, but I'm curious if there is any harm. >>>> >>>> The reason I ask is I'm looking at some code here that can be used on >>>> either RAID or non-RAID devices. The stride setting it has is >>>> correct for the particular RAID setup it is intended for, but it also >>>> uses those settings when formatting a non-RAID device. >>>> >>>> David >>> >>> just FWIW, recent kernels & e2fsprogs will just automatically pick >>> stride based on storage geometry - for md/lvm at least, and for >>> scsi devices that export this geometry as well. >>> >>> ext4 has a little stripe-awareness in its allocator; otherwise, stride >>> just staggers bitmap starts so they don't all end up on the same spindle; [1] >>> Offhand I don't think it'd cause any harm to set stride on non-raid. >> >> Thanks very much for your pointers. It's a nice enhancement that this is done automatically now. >> >> David >> >> >> _______________________________________________ >> Ext3-users mailing list >> Ext3-users at redhat.com >> https://www.redhat.com/mailman/listinfo/ext3-users >> From amey1288 at gmail.com Mon May 16 13:12:33 2011 From: amey1288 at gmail.com (Amey) Date: Mon, 16 May 2011 18:42:33 +0530 Subject: How to mount ext3 root partition with noatime and ro options at boot-time Message-ID: Hi all, I was trying to mount root-partition which is ext3 partition with noatime and ro option. I included "ro" in the kernel command line But for mounting it with "noatime" option when I searched for some solution I came across a patch http://lkml.org/lkml/2007/8/5/38 But after applying this patch and including option "noatime" in kernel command line , kernel by default mounts all the partition with "noatime" option which is not my requirement. I just want to mount root partition with ro and noatime option and other partitions with atime option at boottime only. So please help me in this regard. Thanking you all in advance. Cheers, AM -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at nerdbynature.de Tue May 17 20:10:16 2011 From: lists at nerdbynature.de (Christian Kujau) Date: Tue, 17 May 2011 13:10:16 -0700 (PDT) Subject: How to mount ext3 root partition with noatime and ro options at boot-time In-Reply-To: References: Message-ID: On Mon, 16 May 2011 at 18:42, Amey wrote: > I was trying to mount root-partition which is ext3 partition with > noatime and ro option. I included "ro" in the kernel command line But for > mounting it with "noatime" option when I searched for some solution I came Use tune2fs(8) to set default mount options for this partition. Or use the "rootflags=" bootparameter, e.g. rootflags=noatime,ro for setting noatime & readonly for the root filesystem. HTH, Christian. -- BOFH excuse #110: The rolling stones concert down the road caused a brown out From samuel at bcgreen.com Wed May 18 03:13:50 2011 From: samuel at bcgreen.com (Stephen Samuel) Date: Tue, 17 May 2011 20:13:50 -0700 Subject: How to mount ext3 root partition with noatime and ro options at boot-time In-Reply-To: References: Message-ID: So, if you mount the system ro, then why do you even need noatime -- since atime can't be updated at all if you're not writing to the filesystem. On Tue, May 17, 2011 at 1:10 PM, Christian Kujau wrote: > On Mon, 16 May 2011 at 18:42, Amey wrote: > > I was trying to mount root-partition which is ext3 partition with > > noatime and ro option. I included "ro" in the kernel command line But > for > > mounting it with "noatime" option when I searched for some solution I > came > > Use tune2fs(8) to set default mount options for this partition. Or use the > "rootflags=" bootparameter, e.g. rootflags=noatime,ro for setting noatime > & readonly for the root filesystem. > > HTH, > Christian. > -- > BOFH excuse #110: > > The rolling stones concert down the road caused a brown out > > _______________________________________________ > Ext3-users mailing list > Ext3-users at redhat.com > https://www.redhat.com/mailman/listinfo/ext3-users > -- Stephen Samuel http://www.bcgreen.com Software, like love, 778-861-7641 grows when you give it away -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at nerdbynature.de Wed May 18 03:16:27 2011 From: lists at nerdbynature.de (Christian Kujau) Date: Tue, 17 May 2011 20:16:27 -0700 (PDT) Subject: How to mount ext3 root partition with noatime and ro options at boot-time In-Reply-To: References: Message-ID: On Tue, 17 May 2011 at 20:13, Stephen Samuel wrote: > So, if you mount the system ro, then why do you even need noatime -- since > atime can't be updated at all if you're not writing to the filesystem. Hehe, good point :-) C. -- BOFH excuse #55: Plumber mistook routing panel for decorative wall fixture From samix_119 at yahoo.com Mon May 23 11:16:07 2011 From: samix_119 at yahoo.com (Muhammed Sameer) Date: Mon, 23 May 2011 04:16:07 -0700 (PDT) Subject: No subject Message-ID: <253991.25729.qm@web112604.mail.gq1.yahoo.com> http://dev.crm.zbiddy.com/enterin.html -------------- next part -------------- An HTML attachment was scrubbed... URL: