Re: Partitions greater than 1TB ?

2011-01-25 Thread Frank Bonnet

It does the trick, thank you

this could help

http://romain.blogreen.org/Blog/Updating_FreeBSD_7_%28i386%29_to_8_%28amd64%29





On 01/25/2011 12:51 AM, Devin Teske wrote:

On Mon, 2011-01-24 at 15:08 +0100, Frank Bonnet wrote:


Hello

I'm trying to install a new server ( HP Proliant 380 G7 ) which has
a 2.5 TB RAID Array.

It seems impossible to use the Freebsd sysinstall to partition this
raid array disks.


Correct. Currently sysinstall can only perform MBR partitioning
(partitions limited to 2TB max).

You want GPT partitioning.

See gpart(8)
--
Devin



I get an error message when running the partitionner

Error mounting /mnt/dev/da1s1e on /mnt/.user : input/output error

Anyone has infos about this problem ?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



_

The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



--

Frank BONNET

01.45.92.66.17

Service des Moyens Informatique Generaux

ESIEE PARIS
Cité Descartes / BP 99
93162 NOISY-LE-GRAND Cedex
http://www.esiee.fr http://www.esiee.fr/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitions greater than 1TB ?

2011-01-24 Thread Devin Teske
On Mon, 2011-01-24 at 15:08 +0100, Frank Bonnet wrote: 

 Hello
 
 I'm trying to install a new server ( HP Proliant 380 G7 ) which has
 a 2.5 TB RAID Array.
 
 It seems impossible to use the Freebsd sysinstall to partition this
 raid array disks.


Correct. Currently sysinstall can only perform MBR partitioning
(partitions limited to 2TB max).

You want GPT partitioning.

See gpart(8)
--
Devin


 
 I get an error message when running the partitionner
 
 Error mounting /mnt/dev/da1s1e on /mnt/.user : input/output error
 
 Anyone has infos about this problem ?
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



_

The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitions per slice limitation removed?

2009-10-27 Thread Andrew Von Cid
Hi,
 No, you were not dreaming. When in doubt, check the source. From
 head/sbin/bsdlabel/bsdlabel.c [1]:

 Allow bsdlabel to operate on labels that have at most 26 partitions by virtue
 of there not being any (lower-case) letters avaliable for more partitions.

 [1] http://svn.freebsd.org/viewvc/base?view=revisionrevision=174501
   

Has anyone actually got that working?  I just tried adding a 9th label
on 8.0-RC2 with no luck.  I tried both gpart and bsdlabel.

silver% gpart show ad4s1
=   0  62914257  ad4s1  BSD  (30G)
 0   1048576  1  freebsd-ufs  (512M)
   1048576   2097152  2  freebsd-swap  (1.0G)
   3145728  14680064  4  freebsd-ufs  (7.0G)
  17825792   3145728  5  freebsd-ufs  (1.5G)
  20971520   1048576  6  freebsd-ufs  (512M)
  22020096   4194304  7  freebsd-ufs  (2.0G)
  26214400   4194304  8  freebsd-ufs  (2.0G)
  30408704  32505553 - free -  (15G)

silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs ad4s1
gpart: index '9': No space left on device

...and if I specify the index manually I get this:

silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs -i 9 ad4s1
gpart: index '9': Invalid argument

silver% uname -r
8.0-RC2

Perhaps this isn't going to make into 8.0-RELEASE after all or am I
doing something wrong?


Cheers,


Andrew./
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-21 Thread Jerry McAllister
On Thu, Dec 20, 2007 at 03:34:30PM -0800, Alexander Rudyk (Akvelon) wrote:

 Thank all of you for really helpful answers.
 
 I am thinking about this configuration (might be helpful for someone in the 
 future)
 
  a:  /  (root)   256 MB
  b:  /swap  4096 MB
  d:  /tmp768 MB
  e:  /usr   8192 MB
  f:  /var   2048 MB
  g:  /home  all the rest.
 
 Think that 8GB will be enough for /usr ports, local and build os from scratch,
 and 2GB for /var - in any case I can symlink some of those to /home

Depends on what things you build.   Some requite huge amounts of space.
Openoffice is one example.  Of course, for many of these, you can get
prebuilt packages.

jerry

 
 So we need about 15GB of free storage only for FreeBSD needs.
 
 Thx
 Alex
 
 
 -Original Message-
 From: Nikola Le??i?? [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 20, 2007 12:13 PM
 To: Alexander Rudyk (Akvelon)
 Cc: FreeBSD-questions@FreeBSD.org
 Subject: Re: Partitions size for 80GB HDD and 2GB RAM
 
 On Thu, 20 Dec 2007 11:26:41 -0800
 Alexander Rudyk (Akvelon) [EMAIL PROTECTED] wrote:
 
  Nikola,
 
  Thank you for your extender answer. I have two more comments.
 
  Did you consider /var as your email db partition. I really don???t
  know how big will be my mail db on freebsd, but after half of year
  I have about 4GB outlook mail db. So 1GB for /var might be not enough
  in my case.
 
 The hier(7) manpage is very useful to understand the default directory
 structure:
 
   
 http://www.freebsd.org/cgi/man.cgi?query=hierapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html
 
 As for mail, it depends on how you plan to receive and handle it; if you
 just download mail from pop3 account, it will be stored in your home by
 a mail client (this goes as well for mail you export from Outlook to
 e.g. Thunderbird). For locally (system) delivered mail, /var/spool is
 the default place, but unless you want yo use your laptop as a mail
 server, it's unlikely you will store your mail there.
 
  Having /home as part of /usr is the good point. But in case of backup
  it make sense to have /home as separate partition. What you think
  about this?
 
 Of course it's very useful for backups. I just thought it was useful to
 warn you about how much space /usr/ports could need because the default
 installation procedure on FreeBSD is to compile sources (of thirs
 party applications and of FreeBSD itself).
 
 As a useful example on how much space you might need, here are rough
 sizes on my home desktop computer, used for everyday work. I have ~850
 ports installed.
 
   /usr/ports~2G (with current distfiles and packages that happen
  to be there + you will need at least 2-3G for
  large upgrades, sometimes  10G)
   /usr/local~5G (third party applications + additions such as
  TeXLive = ~1G)
   /usr/home~20G
   -
   /usr total used: ~30G (includes FreeBSD itself + some other smaller
  storages)
 
 If you plan to build FreeBSD itself in the future, then /usr must be
 even bigger. If all this leaves enough room for /home for you, then
 it's certainly very useful to make it separate partition.
 
 --
 Nikola Le??i?? ::  ??

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


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Lowell Gilbert
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] writes:

 I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB
 RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web
 development (RubyOnRails), entertaiment (photo, music, video),
 web browsing and emailing, so no server side task will be handled.

 How you suggest to split 80GB between partitions to solve all laptop tasks.
 Here is partitions:
 /root
 /var
 /usr
 /home
 /swap

You might want to consider a single partition (other than swap).
The only reason I separate partitions these days is to make backups easier.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Alexander Rudyk (Akvelon)
Why /var partition is so big? How it will be used?

-Original Message-
From: Frank Bonnet [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 20, 2007 1:35 AM
To: Alexander Rudyk (Akvelon)
Subject: Re: Partitions size for 80GB HDD and 2GB RAM

Alexander Rudyk (Akvelon) wrote:
 Hi all

 I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB
 RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web
 development (RubyOnRails), entertaiment (photo, music, video),
 web browsing and emailing, so no server side task will be handled.

 How you suggest to split 80GB between partitions to solve all laptop tasks.
 Here is partitions:
 /root
 /var
 /usr
 /home
 /swap


oops you miss the / partition !

I suggest

/   2  Gb
/var10 Gb
/usr30 Gb
swap2 Gb
the rest for /root and /home
--
Cordialement
Frank Bonnet
ESIEE Paris

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


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Nikola Lečić
On Wed, 19 Dec 2007 17:17:50 -0800
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] wrote:
 
 Hi all
 
 I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD
 and 2GB RAM. FreeBSD will be the only OS on the laptop. Laptop will
 be used to web development (RubyOnRails), entertaiment (photo, music,
 video), web browsing and emailing, so no server side task will be
 handled.
 
 How you suggest to split 80GB between partitions to solve all laptop
 tasks. Here is partitions:
 /root
 /var
 /usr
 /home
 /swap

Hi Alexander,

You can find the recommendations regarding partition sizes in
Allocating Disk Space chapter of the FreeBSD Handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/):

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

This means that your partition layout should be like this:

/   512M
swap   4096M (2x RAM)
/tmp512M
/var   1024M
/usrrest

/var's size depends, among other things, on how many logs you want to
keep there (where they live by default); since your machine will not be
a server, 512M should be ok. Please note that /var/db/, the default
place for info about ports installed, occupies roughly 200M or more.

/usr depends on how many applications you need to run. Please note
that /usr is also the default place where applications will be compiled
(inside /usr/ports) and where a lot of distfiles (sources) or
(precompiled) packages will be stored, so huge upgrades can take a lot
of place. [Some applications need ~500M (Firefox), ~1G (gcc42) or
several gigabytes (OpenOffice) to compile. Distfiles can use 1-3G,
depending on cleaning policy you choose.] Therefore, since you have 80G,
it's not a bad idea to use /usr for /home as well (i.e. to have /usr
only; home will be /usr/home, symlinked from /home). Otherwise, you can
easily encounter too much (wasted) or too little free space on /usr.

I've recently configured a laptop with the aforementioned partition
sizes (with smaller swap).

(Besides this, don't forget to read about the difference between
dedicated and sliced disks in the Handbook.)

Regards,
-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Nikola Lečić
Apologies, two corrections:

On Thu, 20 Dec 2007 19:56:36 +0100
Nikola Lečić [EMAIL PROTECTED] wrote:

[...] 
 /var's size depends, among other things, on how many logs you want to
 keep there (where they live by default); since your machine will not
 be a server, 512M should be ok. Please note that /var/db/, the default
   
   correction: /var/db/pkg
 place for info about ports installed, occupies roughly 200M or more.
 ^
   (/var/db)
/var/db/pkg alone is smaller, count on up to 100M.

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Alexander Rudyk (Akvelon)
Nikola,

Thank you for your extender answer. I have two more comments.

Did you consider /var as your email db partition. I really don’t
know how big will be my mail db on freebsd, but after half of year
I have about 4GB outlook mail db. So 1GB for /var might be not enough
in my case.

Having /home as part of /usr is the good point. But in case of backup
it make sense to have /home as separate partition. What you think about this?

Thx
Alex




-Original Message-
From: Nikola Lečić [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 20, 2007 10:57 AM
To: Alexander Rudyk (Akvelon)
Cc: FreeBSD-questions@FreeBSD.org
Subject: Re: Partitions size for 80GB HDD and 2GB RAM

On Wed, 19 Dec 2007 17:17:50 -0800
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] wrote:

 Hi all

 I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD
 and 2GB RAM. FreeBSD will be the only OS on the laptop. Laptop will
 be used to web development (RubyOnRails), entertaiment (photo, music,
 video), web browsing and emailing, so no server side task will be
 handled.

 How you suggest to split 80GB between partitions to solve all laptop
 tasks. Here is partitions:
 /root
 /var
 /usr
 /home
 /swap

Hi Alexander,

You can find the recommendations regarding partition sizes in
Allocating Disk Space chapter of the FreeBSD Handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/):

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

This means that your partition layout should be like this:

/   512M
swap   4096M (2x RAM)
/tmp512M
/var   1024M
/usrrest

/var's size depends, among other things, on how many logs you want to
keep there (where they live by default); since your machine will not be
a server, 512M should be ok. Please note that /var/db/, the default
place for info about ports installed, occupies roughly 200M or more.

/usr depends on how many applications you need to run. Please note
that /usr is also the default place where applications will be compiled
(inside /usr/ports) and where a lot of distfiles (sources) or
(precompiled) packages will be stored, so huge upgrades can take a lot
of place. [Some applications need ~500M (Firefox), ~1G (gcc42) or
several gigabytes (OpenOffice) to compile. Distfiles can use 1-3G,
depending on cleaning policy you choose.] Therefore, since you have 80G,
it's not a bad idea to use /usr for /home as well (i.e. to have /usr
only; home will be /usr/home, symlinked from /home). Otherwise, you can
easily encounter too much (wasted) or too little free space on /usr.

I've recently configured a laptop with the aforementioned partition
sizes (with smaller swap).

(Besides this, don't forget to read about the difference between
dedicated and sliced disks in the Handbook.)

Regards,
--
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread James Harrison
On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote:
 Nikola,
 
 Thank you for your extender answer. I have two more comments.
 
 Did you consider /var as your email db partition. I really don’t
 know how big will be my mail db on freebsd, but after half of year
 I have about 4GB outlook mail db. So 1GB for /var might be not enough
 in my case.
 
 Having /home as part of /usr is the good point. But in case of backup
 it make sense to have /home as separate partition. What you think about this?
 
 Thx
 Alex
 
 


/home is just a symlink to /usr/home, so that wouldn't help.


cd /
ls -l
lrwxr-xr-x   1 root  wheel8 Nov  2 05:37 home - usr/home


You might want to put /usr/home on a separate partition, but that's your
call.

James

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


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Jerry McAllister
On Wed, Dec 19, 2007 at 05:17:50PM -0800, Alexander Rudyk (Akvelon) wrote:

 Hi all
 
 I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB
 RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web
 development (RubyOnRails), entertaiment (photo, music, video),
 web browsing and emailing, so no server side task will be handled.
 
 How you suggest to split 80GB between partitions to solve all laptop tasks.
 Here is partitions:
 /root
 /var
 /usr
 /home
 /swap

I would recommend two possibilities, depending on how you you use
the machine and how many ports you intend to install.

One is to have only / and swap.
For that, make swap  4096 MB
and root the rest.
This presumes you will not be running any server which is a realistic
for a laptop and then you will not be doing backups very much and that
you will be the only one with accounts on the machine.

The other would be a more standard division which makes backups easier
and tends to protect the system from runaway users and processes more.

 a:  /  (root)   256 MB
 b:  /swap  4096 MB
 d:  /tmp768 MB
 e:  /usr   4096 MB
 f:  /var   2048 MB
 g:  /home  all the rest.

Some combine root and /usr in to one large partition and then make
the rest as above.  Others make root, /usr and /var one partition
the size of the sum of those above and then keep the rest.  I like
to at least keep /tmp and /home separate from the OS partitions,
namely /, /usr and /tmp.   And, of course, at least some swap should 
be in its own partition.

Alternatively, you could make /var and /usr smaller
and move /var/log, /var/spool, /usr/ports and /usr/local to /home
and make symlinks for them.   Then /var might be 1024 MB
and /usr might be 2048 MB.   If you let your Email inbox grow to large
size before cleaning it out, then you might also want to move /var/mail
to /home. They all would take up just as much room, but it would be 
out of /home where they could grow as needed without having to know how 
much in advance.You want the initial /usr to be at least 2048 MB
in order to initially install source and the base ports tree.  Then,
before you do your fisrt csup of the system and of ports and installation
of any of the ports, you do the move and make the symlinks.  That will
leave /usr a little empty, but no problem.

If you are running some database that uses /var/db, you have to take
that in to account as well.   It can grow pretty fast.

Note, I find the handbook suggested partition sizes to be a little out
of date because of the current trend of increasing size of source and 
the ports tree, plus,  /usr no longer seems to be the assumed location 
of user's home(login) directories any more.  They now tend to go in /home.

But, this tends to end up being a religious issue, so find what works
for you and go with that and ignore all we soothsayers.

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


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Brian

James Harrison wrote:

On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote:
  

Nikola,

Thank you for your extender answer. I have two more comments.

Did you consider /var as your email db partition. I really don’t
know how big will be my mail db on freebsd, but after half of year
I have about 4GB outlook mail db. So 1GB for /var might be not enough
in my case.

Having /home as part of /usr is the good point. But in case of backup
it make sense to have /home as separate partition. What you think about this?

Thx
Alex






/home is just a symlink to /usr/home, so that wouldn't help.


cd /
ls -l
lrwxr-xr-x   1 root  wheel8 Nov  2 05:37 home - usr/home


You might want to put /usr/home on a separate partition, but that's your
call.

James

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I know of people that put /usr/home on a separate physical disk, then 
they can recover more easily in the event of a system catastrophe.


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


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Jerry McAllister
On Thu, Dec 20, 2007 at 12:40:46PM -0700, James Harrison wrote:

 On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote:
  Nikola,
  
  Thank you for your extender answer. I have two more comments.
  
  Did you consider /var as your email db partition. I really don???t
  know how big will be my mail db on freebsd, but after half of year
  I have about 4GB outlook mail db. So 1GB for /var might be not enough
  in my case.
  
  Having /home as part of /usr is the good point. But in case of backup
  it make sense to have /home as separate partition. What you think about 
  this?
  
  Thx
  Alex
  
  
 
 
 /home is just a symlink to /usr/home, so that wouldn't help.

Not unless you make it that way.   If you do not create a /home partition
then it can become just a symlink to /usr/home.   But, it is not if
you make a /home partition.   Then it gets turned in to a real mount
point.

jerry

 
 
 cd /
 ls -l
 lrwxr-xr-x   1 root  wheel8 Nov  2 05:37 home - usr/home
 
 
 You might want to put /usr/home on a separate partition, but that's your
 call.
 
 James
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Nikola Lečić
On Thu, 20 Dec 2007 11:26:41 -0800
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] wrote:
 
 Nikola,
 
 Thank you for your extender answer. I have two more comments.
 
 Did you consider /var as your email db partition. I really don’t
 know how big will be my mail db on freebsd, but after half of year
 I have about 4GB outlook mail db. So 1GB for /var might be not enough
 in my case.

The hier(7) manpage is very useful to understand the default directory
structure:

  
http://www.freebsd.org/cgi/man.cgi?query=hierapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html

As for mail, it depends on how you plan to receive and handle it; if you
just download mail from pop3 account, it will be stored in your home by
a mail client (this goes as well for mail you export from Outlook to
e.g. Thunderbird). For locally (system) delivered mail, /var/spool is
the default place, but unless you want yo use your laptop as a mail
server, it's unlikely you will store your mail there.

 Having /home as part of /usr is the good point. But in case of backup
 it make sense to have /home as separate partition. What you think
 about this?

Of course it's very useful for backups. I just thought it was useful to
warn you about how much space /usr/ports could need because the default
installation procedure on FreeBSD is to compile sources (of thirs
party applications and of FreeBSD itself).

As a useful example on how much space you might need, here are rough
sizes on my home desktop computer, used for everyday work. I have ~850
ports installed.

  /usr/ports~2G (with current distfiles and packages that happen
 to be there + you will need at least 2-3G for
 large upgrades, sometimes  10G)
  /usr/local~5G (third party applications + additions such as
 TeXLive = ~1G)
  /usr/home~20G
  -
  /usr total used: ~30G (includes FreeBSD itself + some other smaller
 storages)

If you plan to build FreeBSD itself in the future, then /usr must be
even bigger. If all this leaves enough room for /home for you, then
it's certainly very useful to make it separate partition.

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Alexander Rudyk (Akvelon)
Thank all of you for really helpful answers.

I am thinking about this configuration (might be helpful for someone in the 
future)

 a:  /  (root)   256 MB
 b:  /swap  4096 MB
 d:  /tmp768 MB
 e:  /usr   8192 MB
 f:  /var   2048 MB
 g:  /home  all the rest.

Think that 8GB will be enough for /usr ports, local and build os from scratch,
and 2GB for /var - in any case I can symlink some of those to /home

So we need about 15GB of free storage only for FreeBSD needs.

Thx
Alex


-Original Message-
From: Nikola Lečić [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 20, 2007 12:13 PM
To: Alexander Rudyk (Akvelon)
Cc: FreeBSD-questions@FreeBSD.org
Subject: Re: Partitions size for 80GB HDD and 2GB RAM

On Thu, 20 Dec 2007 11:26:41 -0800
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] wrote:

 Nikola,

 Thank you for your extender answer. I have two more comments.

 Did you consider /var as your email db partition. I really don’t
 know how big will be my mail db on freebsd, but after half of year
 I have about 4GB outlook mail db. So 1GB for /var might be not enough
 in my case.

The hier(7) manpage is very useful to understand the default directory
structure:

  
http://www.freebsd.org/cgi/man.cgi?query=hierapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html

As for mail, it depends on how you plan to receive and handle it; if you
just download mail from pop3 account, it will be stored in your home by
a mail client (this goes as well for mail you export from Outlook to
e.g. Thunderbird). For locally (system) delivered mail, /var/spool is
the default place, but unless you want yo use your laptop as a mail
server, it's unlikely you will store your mail there.

 Having /home as part of /usr is the good point. But in case of backup
 it make sense to have /home as separate partition. What you think
 about this?

Of course it's very useful for backups. I just thought it was useful to
warn you about how much space /usr/ports could need because the default
installation procedure on FreeBSD is to compile sources (of thirs
party applications and of FreeBSD itself).

As a useful example on how much space you might need, here are rough
sizes on my home desktop computer, used for everyday work. I have ~850
ports installed.

  /usr/ports~2G (with current distfiles and packages that happen
 to be there + you will need at least 2-3G for
 large upgrades, sometimes  10G)
  /usr/local~5G (third party applications + additions such as
 TeXLive = ~1G)
  /usr/home~20G
  -
  /usr total used: ~30G (includes FreeBSD itself + some other smaller
 storages)

If you plan to build FreeBSD itself in the future, then /usr must be
even bigger. If all this leaves enough room for /home for you, then
it's certainly very useful to make it separate partition.

--
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: Partitions???

2006-09-22 Thread Brown, Steve
You need to check out the gparted-livecd.  This will allow you to grow or 
shrink partitions, just like Partition Magic.  It should work with all the 
filesystems in question here.  I have recently used it and will never go back 
to Partition Magic.
http://gparted.sourceforge.net/features.php

Once you have performed a shrink, you will have additional unpartitioned space 
where you can load another OS if you want.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of xnow xsnow
Sent: Friday, September 22, 2006 1:54 AM
To: Jerry McAllister
Cc: freebsd-questions@freebsd.org
Subject: Re: Partitions???


Now, some people sometimes leave a chunk of disk that is not allocated
in any of the primary slices with the thought of adding another bootable
OS at some later time.   But that is a different story.   And even then,
if what you are doing unexpectedly uses up your space, you would just
create another FreeBSD slice in that held out space and put a nice
large single partition in and move some things there and make a link.
It is so much easier than resizing and risking losing stuff as in
other unnamed systems.
   
  Yea, more like that...I have many machines in my work, they have linux 
reiserfs partitions, ext3...some FAT32, ntfs, and they are in full disk, and i 
want to install fbsd there without any lose of any data.
   
  When you said you should create another fbsd slice(...) then make a link 
but these machines have no fbsd partition and never had, nor any other 
partition besides the only one used by this other system, like a 60GB disk with 
full with only only partition, like fat32.
   
  I think growfs wouldn't help then.
   
  the other part
   
  I understood that 'boot0cfg -B ad0' would try to detect all of it automatic, 
and yes in my situation it is ad0.
   
  But since we have many different systems here, I am afraid some of them don't 
get detected, is there any possibility?like windows xp, windows 98, solaris, 
linux, I don't even know all of them, and if so, any of them don't get detected 
automatic after boot0cfg -B ad0 i would not have any idea of what to do.
   
  On linux we have /etc/lilo.conf which i have manually full acess and makes me 
be able to add anything, on fbsd i don't know...
   
  But if you tell me it is able to detect anything automatic, I'd leave this 
fear away and have fun tomorrow.
   
  Thanks for your reply.


-
 Yahoo! Search
 Música para ver e ouvir: You're Beautiful, do James Blunt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Partitions???

2006-09-21 Thread Jerry McAllister
On Thu, Sep 21, 2006 at 07:10:52PM -0300, xnow xsnow wrote:

 First I'd like to know if there's a faster way to resize partitions than 
 using GParted livecd, and no i am not supposed to pay, also, why freebsd 
 has no resizer in its installation?

There is, called growfs.   But, its use is limited.  You have
to have space contiguous with the partition to grow in to.
Generally, in something like FreeBSD you carve up the slice
in to partitions and use all the space in the slice.  Although I
have heard of people doing so, I don't think it is common to leave
extra unused space lying around.   

More often, people put all the space that might be left after divvying 
up the other partitions in to one remaining partition, typically mounted 
as something like /home or /work or /scratch.Then, if something in 
one of the other file systems grows bigger than expected, they just move 
that directory to the larger remainder file system and make a symlink 
to it.   That is so much easier than mucking around with bits and pieces 
of partitions and trying to resize them when they grow unexpectedly that
resizing is uninteresting in FreeBSD.   

If you run out of space in both the original file system and that large
left over one, then you have to get more disk, rather than just resizing
the one you have.

Now, some people sometimes leave a chunk of disk that is not allocated
in any of the primary slices with the thought of adding another bootable
OS at some later time.   But that is a different story.   And even then,
if what you are doing unexpectedly uses up your space, you would just
create another FreeBSD slice in that held out space and put a nice
large single partition in and move some things there and make a link.
It is so much easier than resizing and risking losing stuff as in
other unnamed systems.

 Second I'd like to add new systems to fbsd boot manager, i've been told 
 to read man page of boot0cfg but didn't understand much, on linux my 
 freebsd is mounted on hda1 and my linux is on hda3, how can I add my 
 hda3 to be hitted as F3 to boot on freebsd boot manager?how can I 
 easyly configure it?

You just need to put the MBR on both HDD-1 and HDD-3 and have boot
sectors in each of the bootable primary slices on disk.  Then it
should find all of everything automatically just fine.   
The boot0cfg utility writes that MBR out for you.   You just need to
tell it to replace the MBR and which disk to do it to.
I think 'boot0cfg -B ad0' would do it for you first disk for example.
You need to look at your dmesg(8) output or /var/run/dmesg.boot file
and find out what names the system has assigned to the two disks.
They will look something like  ado: ad1: ad2:  for ata
  or da0:  da1: da2:  for SCSI.   
Note that the first one is 0, second is 1, etc.

What it will do is put F1-Fn(maz 4) for the bootable slices 
on the first disk and then F5 to go to the next bootable disk.
If you then hit F5, it will put up the bootable slices on that one
(and F5 if there is yet another disk with an MBR and bootable slices
in the boot order).   It might seem a little clumsy having to hit
two F-keys to get to any boot slice beyond those on the first disk,
but that is partly because FreeBSD keeps its MBR size down to fit in
the officialy legal 1 sector and doesn't steal sectors that just might
not be available on some systems in order to have a fancier selection
menu.

If I understood your question, I think that answers it.  
But, I may not have understood you correctly

jerry

 
 Thanks.
   
 -
  O Yahoo! est? de cara nova. Venha conferir!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions???

2006-09-21 Thread xnow xsnow
Now, some people sometimes leave a chunk of disk that is not allocated
in any of the primary slices with the thought of adding another bootable
OS at some later time.   But that is a different story.   And even then,
if what you are doing unexpectedly uses up your space, you would just
create another FreeBSD slice in that held out space and put a nice
large single partition in and move some things there and make a link.
It is so much easier than resizing and risking losing stuff as in
other unnamed systems.
   
  Yea, more like that...I have many machines in my work, they have linux 
reiserfs partitions, ext3...some FAT32, ntfs, and they are in full disk, and i 
want to install fbsd there without any lose of any data.
   
  When you said you should create another fbsd slice(...) then make a link 
but these machines have no fbsd partition and never had, nor any other 
partition besides the only one used by this other system, like a 60GB disk with 
full with only only partition, like fat32.
   
  I think growfs wouldn't help then.
   
  the other part
   
  I understood that 'boot0cfg -B ad0' would try to detect all of it automatic, 
and yes in my situation it is ad0.
   
  But since we have many different systems here, I am afraid some of them don't 
get detected, is there any possibility?like windows xp, windows 98, solaris, 
linux, I don't even know all of them, and if so, any of them don't get detected 
automatic after boot0cfg -B ad0 i would not have any idea of what to do.
   
  On linux we have /etc/lilo.conf which i have manually full acess and makes me 
be able to add anything, on fbsd i don't know...
   
  But if you tell me it is able to detect anything automatic, I'd leave this 
fear away and have fun tomorrow.
   
  Thanks for your reply.


-
 Yahoo! Search
 Música para ver e ouvir: You're Beautiful, do James Blunt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions

2003-11-19 Thread Robin Schoonover
On Wed, 19 Nov 2003 01:10:29 -0800 (PST), George Theodo
[EMAIL PROTECTED] wrote:
 Hello all. I am using FreeBSD 5.1 for a couple of weeks now. My situation
 is this, I have one hard disk with two partitions , one for WinXP and one
 for FreeBSD where I boot each one of them. Also I have a second hard disk
 with two partitions of WinXP. I am trying to administer WinXP from
 FreeBSD but i have some difficulties. I mount without problem the NTFS
 partitions but what happens is this: I can copy files from any NTFS
 partition to the FreeBSD Partition , I cannot copy files from any NTFS
 partition to another NTFS partition, I cannot copy files from FreeBSD
 Partition to NTFS partition. I don't know what the problem is.


From the mount_ntfs(8) man page:

WRITING
 There is limited writing ability.  Limitations: file must be
nonresident and must not contain any sparces (uninitialized areas);
compressed files are also not supported.

[...]

CAVEATS
 This utility is primarily used for read access to an NTFS volume.  See
 the WRITING section for details about writing to an NTFS volume.


So in other words, you should probably should not count on being able to
write to an NTFS partition.

-- 
Robin Schoonover (aka End)
#
# Ever notice that even the busiest people are never too busy to tell
# you just how busy they are.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions

2002-09-25 Thread Daniel Bye

On Tue, Sep 24, 2002 at 02:37:21PM -0400, Jud wrote:
 
 
 -Original Message-
 From: John Wards [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Tue, 24 Sep 2002 17:25:51 +0100
 Subject: Partitions
 
 Hi,
 
 I need to resize my XP partition so i can install FreeBSD. I have looked at
 loads of partition software but they all want me to pay for it and I don't
 see the point as I will only be using it once!
 
 Does anyone know of any partion software that will resize my XP partition
 for free!
 
 Cheers
 John
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 
 Yes, BootIt NG is excellent - 30-day free trial.
 
 http://www.terabyteunlimited.com
 
 There are free partition utilities such as
 Ranish Partition Manager, but I found them poorly
 documented and easy to screw up.
 
 There are also FIPS and PResizer, free tools offered
 at FreeBSD FTP sites.  I haven't used these (I needed
 a boot manager that easily grokked RAID as well as a
 partition tool, thus BootIt NG), but perhaps someone
 else can comment on them.

I have used FIPS - it works, but can be a bit hairy...  Follow the 
instructions, and you should be OK.  It's quite straightforward.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Partitions

2002-09-24 Thread Jud



-Original Message-
From: John Wards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Tue, 24 Sep 2002 17:25:51 +0100
Subject: Partitions

Hi,

I need to resize my XP partition so i can install FreeBSD. I have looked at
loads of partition software but they all want me to pay for it and I don't
see the point as I will only be using it once!

Does anyone know of any partion software that will resize my XP partition
for free!

Cheers
John
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Yes, BootIt NG is excellent - 30-day free trial.

http://www.terabyteunlimited.com

There are free partition utilities such as
Ranish Partition Manager, but I found them poorly
documented and easy to screw up.

There are also FIPS and PResizer, free tools offered
at FreeBSD FTP sites.  I haven't used these (I needed
a boot manager that easily grokked RAID as well as a
partition tool, thus BootIt NG), but perhaps someone
else can comment on them.

Jud


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message