Re: newfs -i and -f options with vinum
On Sunday, 22 December 2002 at 18:41:13 -0600, Hari Bhaskaran wrote: Hi, I need to create a partition that will be used to store large number of small files (qmail Maildir) I normally (without vinum in the picture) do this via newfs -i 2048 -f 512 /dev/... So when using newfs to create an fs via vinum, I am assuming I have to specify -i and -f options in addition to -v. However, I noticed that these options where also specified under disklabel for the entire vinum drive (I saw fsize and bsize - which I assume will be fragment size and block size). So my questions is:- Is it possible to specify these settings only for one volume (where I store my mail files)? Does it mean I can ignore the settings that I saw in disklabel (-e)? These settings don't apply to volumes, they apply to file systems. Yes, you can set them individually for each file system. The information in the disk label is not binding. I'd strongly advise against a 2048 byte block size, though; it buys you nothing in comparison with a 4096 byte block size, but it can result in marginally reduced performance. In general, unless you have a very good reason, stick to the default 16k/2k block and frag sizes. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: newfs -i and -f options with vinum
On Tue, Dec 24, 2002 at 10:14:16AM +1030, Greg 'groggy' Lehey wrote: information in the disk label is not binding. I'd strongly advise against a 2048 byte block size, though; it buys you nothing in comparison with a 4096 byte block size, but it can result in marginally reduced performance. In general, unless you have a very good reason, stick to the default 16k/2k block and frag sizes. Isn't block size (-b) different from bytes-per-inode (-i) ? Or am I confused?. BTW, after doing some google-ing, I settled for newfs -v -i 4096 (only for the partition where I saved mails) Others use newfs -v with the default settings. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: newfs -i and -f options with vinum
On Monday, 23 December 2002 at 21:46:43 -0600, Hari Bhaskaran wrote: On Tue, Dec 24, 2002 at 10:14:16AM +1030, Greg 'groggy' Lehey wrote: information in the disk label is not binding. I'd strongly advise against a 2048 byte block size, though; it buys you nothing in comparison with a 4096 byte block size, but it can result in marginally reduced performance. In general, unless you have a very good reason, stick to the default 16k/2k block and frag sizes. Isn't block size (-b) different from bytes-per-inode (-i) ? Yes, my bad. I misread. In this case, it's the default, so you don't need to specify it. Or am I confused?. BTW, after doing some google-ing, I settled for newfs -v -i 4096 (only for the partition where I saved mails) Others use newfs -v with the default settings. If that reflects the average size of your files, that's fine. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
newfs -i and -f options with vinum
Hi, I need to create a partition that will be used to store large number of small files (qmail Maildir) I normally (without vinum in the picture) do this via newfs -i 2048 -f 512 /dev/... So when using newfs to create an fs via vinum, I am assuming I have to specify -i and -f options in addition to -v. However, I noticed that these options where also specified under disklabel for the entire vinum drive (I saw fsize and bsize - which I assume will be fragment size and block size). So my questions is:- Is it possible to specify these settings only for one volume (where I store my mail files)? Does it mean I can ignore the settings that I saw in disklabel (-e)? Any help is appreciated (Thanks Greg for the earlier reply) -- Hari Bhaskaran To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message