Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
Thanks a lot, I had got the key points !

-Shark

On 7/8/05, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> Shark Wang wrote:
> 
> >as I had read some partitions material about legacy Unix, I try to
> >separate '/boot' from '/' for my large space on '/' .
> >
> >another question come up : Is ad0s1d the first blocks of the disk which
> >based on partitions layout that my gave?
> >
> >
> >
> No, it isn't. ad0s1a would be the first blocks after the MBR.  Really,
> FreeBSD does not need or expect /boot to be separate so would not have
> put it at the front of the disk.  The only system I know which does that
> is Linux.  Out of curiosity, which "legacy Unix"?
> 
> --Alex
> 
> 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:

as I had read some partitions material about legacy Unix, I try to 
separate '/boot' from '/' for my large space on '/' .


another question come up : Is ad0s1d the first blocks of the disk which 
based on partitions layout that my gave?


 

No, it isn't. ad0s1a would be the first blocks after the MBR.  Really, 
FreeBSD does not need or expect /boot to be separate so would not have 
put it at the front of the disk.  The only system I know which does that 
is Linux.  Out of curiosity, which "legacy Unix"?


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
as I had read some partitions material about legacy Unix, I try to 
separate '/boot' from '/' for my large space on '/' .

another question come up : Is ad0s1d the first blocks of the disk which 
based on partitions layout that my gave?

thanks!

-Shark


On 7/8/05, John McAree <[EMAIL PROTECTED]> wrote:
> > the following is my partitions layout, pls help to do some check:
> >
> > ad0s1d  /boot  -> 30M
> > ad0s1a  /  -> 512M
> > ad0s1b  swap -> 512M
> > ad0s1e  /usr -> 6144M
> > ad0s1f   /var -> 512M
> > ad0s1g  /home -> 2017M
> > ad0s1h  /tmp  -> 512M
> 
> I believe /boot needs to be on the first 1024 blocks of the disk. Why do
> you want a separate partition for /boot?
> 
> John.
> 
> 
> 
> 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

RW wrote:


On Thursday 07 July 2005 18:27, Alex Zbyslaw wrote:
 


1Gb just because it's peanuts to a 200Gb disk, and I don't bother with
/tmp separately.
   



I use one because, by default,  / is mounted without soft-updates. It is 
possible to turn it on, but for the sake of a few hundred MB it seems 
sensible to go with the default of a separate partition.  
 

If I ran a machine with users on it, I might agree :-)  But there's just 
me and I set TMP and TMPDIR to /var/tmp which many programs used to pick 
up on when I first set them years ago.  sort does, for e.g. and that was 
always a tmp killer in the kind of environments I worked in.  Plus *I* 
know to use /var/tmp.


Nowadays my /tmp has a small number of sockets and gubbins so I doubt 
softupdates would make any perceivable difference to me.


Horses for courses,

--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread RW
On Thursday 07 July 2005 18:27, Alex Zbyslaw wrote:
> 1Gb just because it's peanuts to a 200Gb disk, and I don't bother with
> /tmp separately.

I use one because, by default,  / is mounted without soft-updates. It is 
possible to turn it on, but for the sake of a few hundred MB it seems 
sensible to go with the default of a separate partition.  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:


I put '/boot' for an individual partition just for 1023 cylinder
story, although FreeBSD did
not need this action !

the following is my partitions layout, pls help to do some check:

ad0s1d  /boot  -> 30M
ad0s1a  /  -> 512M
ad0s1b  swap -> 512M
ad0s1e  /usr -> 6144M
ad0s1f   /var -> 512M
ad0s1g  /home -> 2017M
ad0s1h  /tmp  -> 512M 


But after I finished my installation and reboot FreeBSD, it will not
load sccuessfully!
 

Do the install again but do not make /boot a partition.  1Gb is more 
than ample for / and /boot.  Given that you have /tmp separately, 256Mb 
would do.  I, at least, never used that much even.


/dev/ad12s1a981527   122405   78060014%/

1Gb just because it's peanuts to a 200Gb disk, and I don't bother with 
/tmp separately.


For all the talk of the 1024 cylinder problem, I have never encountered 
it.  I suspect that while it was true of older hardware, that it just 
isn't the case any more.  If this is a problem, then it is just the / 
(root) partition that needs to start inside 1024 cylinders.


Apart from that, my opinion is that having swap = 2.5 * memory is still 
a reasonable rule of thumb.  You may never need it but a) it's a tiny 
fraction of your disk and b) if you expand your memory in the future you 
still have enough swap.  You must have at least as much swap as physical 
memory.  With 1Gb I put in 4Gb of swap, just because it's peanuts 
compared to a 200Gb disk.  If I double my memory, I still have plenty of 
swap.


/var depends on what this machine does.  If it is a mailserver then 512M 
is inadequate, for a home machine it's probably plenty.  If you ever 
need a crash dump from the kernel (and you may *never* need one, but if 
you do...) then you need as much free disk space as you have physical 
memory.


There was a recent thread about disk sizing (maybe a month ago?) so try 
searching the archive.


I also found this useful when clarifying my thoughts about how to 
partition a new disk:


http://keramida.serverhive.com/weblog/archives/2004-10-26/daemonizing-a-new-disk

--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread John McAree
> the following is my partitions layout, pls help to do some check:
>
> ad0s1d  /boot  -> 30M
> ad0s1a  /  -> 512M
> ad0s1b  swap -> 512M
> ad0s1e  /usr -> 6144M
> ad0s1f   /var -> 512M
> ad0s1g  /home -> 2017M
> ad0s1h  /tmp  -> 512M

I believe /boot needs to be on the first 1024 blocks of the disk. Why do
you want a separate partition for /boot?

John.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread John McAree
> the following is my partitions layout, pls help to do some check:
>
> ad0s1d  /boot  -> 30M
> ad0s1a  /  -> 512M
> ad0s1b  swap -> 512M
> ad0s1e  /usr -> 6144M
> ad0s1f   /var -> 512M
> ad0s1g  /home -> 2017M
> ad0s1h  /tmp  -> 512M

I believe /boot needs to be on the first 1024 blocks of the disk. Why do
you want a separate partition for /boot?

John.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
I put '/boot' for an individual partition just for 1023 cylinder
story, although FreeBSD did
not need this action !

the following is my partitions layout, pls help to do some check:

ad0s1d  /boot  -> 30M
ad0s1a  /  -> 512M
ad0s1b  swap -> 512M
ad0s1e  /usr -> 6144M
ad0s1f   /var -> 512M
ad0s1g  /home -> 2017M
ad0s1h  /tmp  -> 512M 

But after I finished my installation and reboot FreeBSD, it will not
load sccuessfully!

Could you tell me what's the mistakes ? thanks a lot !

-Shark

On 7/7/05, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> Shark Wang wrote:
> 
> >Today, I heard something on the partition policy for FreeBSD.
> >
> >Someone said that we must put the mounted partition '/' and '/boot'
> >in the same slice, otherwise, the System will not boot up !
> >
> >
> So what?
> 
> Please explain what actual problem you are trying to solve and why you
> would want to make /boot a partition at all?
> 
> Have you read relevant sections from the handbook?
> 
> You could start with:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html
> 
> --Alex
> 
> 


-- 
I'm just a bitMaker !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Alex Zbyslaw

Shark Wang wrote:


Today, I heard something on the partition policy for FreeBSD.

Someone said that we must put the mounted partition '/' and '/boot'
in the same slice, otherwise, the System will not boot up !
 


So what?

Please explain what actual problem you are trying to solve and why you 
would want to make /boot a partition at all?


Have you read relevant sections from the handbook? 


You could start with:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html

--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Did we must put the mounted partition '/' and '/boot' in the same slice ?

2005-07-07 Thread Shark Wang
Today, I heard something on the partition policy for FreeBSD.

Someone said that we must put the mounted partition '/' and '/boot'
in the same slice, otherwise, the System will not boot up !

Can someone give me a confirmed anwser? thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"