Re: Help with editing partition tables

2004-05-17 Thread platanthera
On Monday 17 May 2004 06:17, Phil Thomson wrote:
 Hi all,

 I am a relative newbie to UNIX, going from being an ex-Windows user
 to being an X Windows user! ;-) I recently got FreeBSD installed on
 an older PC with a 3 GB drive and a 5 GB drive (which has not yet
 been mounted). The system is installed on the 3 GB drive, but my
 current partition table is inadequate to my needs. Here is the output
 of df -H:

 /dev/ad0s1a   260M   254M -15.3M   106%/
 devfs 1.0K   1.0K 0B   100%/dev
 /dev/ad0s1f   3.4G   1.6G   1.6G51%/usr
 /dev/ad0s1e   260M14M   225M 6%/var

hi Phil,
you could (and definitely should) have a separate slice for /tmp and 
eventually another one for /home too. 
If you decide to reinstall (which is the easiest approach if there's 
'not much too lose yet' on your system) just hit 'a' in the disklabel 
editor of sysinstall(8). This will create separate slices for /, 
swap, /var, /tmp and /usr, and will result in a reasonable disk layout 
for a desktop system.
If you do not want to reinstall and have free space left on your other 
hard disk, you can create a bsd partition there and one or more slices 
inside this partition (250M should be enough for /tmp under 'normal' 
circumstances). Then you can mount the new file systems under arbitrary 
mount points, move the content of /tmp (and eventually /usr/home) over 
and adjust /etc/fstab. Feel free to check back with the list if you 
want to go this way and need more detailed advice.

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


Re: Help with editing partition tables

2004-05-17 Thread Ruben de Groot
On Mon, May 17, 2004 at 01:21:44PM +0200, platanthera typed:
 On Monday 17 May 2004 06:17, Phil Thomson wrote:
  Hi all,
 
  I am a relative newbie to UNIX, going from being an ex-Windows user
  to being an X Windows user! ;-) I recently got FreeBSD installed on
  an older PC with a 3 GB drive and a 5 GB drive (which has not yet
  been mounted). The system is installed on the 3 GB drive, but my
  current partition table is inadequate to my needs. Here is the output
  of df -H:
 
  /dev/ad0s1a   260M   254M -15.3M   106%/
  devfs 1.0K   1.0K 0B   100%/dev
  /dev/ad0s1f   3.4G   1.6G   1.6G51%/usr
  /dev/ad0s1e   260M14M   225M 6%/var
 
 hi Phil,
 you could (and definitely should) have a separate slice for /tmp and 
 eventually another one for /home too. 
 If you decide to reinstall (which is the easiest approach if there's 
 'not much too lose yet' on your system) just hit 'a' in the disklabel 
 editor of sysinstall(8). This will create separate slices for /, 
 swap, /var, /tmp and /usr, and will result in a reasonable disk layout 
 for a desktop system.
 If you do not want to reinstall and have free space left on your other 
 hard disk, you can create a bsd partition there and one or more slices 
 inside this partition (250M should be enough for /tmp under 'normal' 
 circumstances). Then you can mount the new file systems under arbitrary 
 mount points, move the content of /tmp (and eventually /usr/home) over 
 and adjust /etc/fstab. Feel free to check back with the list if you 
 want to go this way and need more detailed advice.

When you say partition, you really mean slice and vice-versa.

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


Re: Help with editing partition tables

2004-05-17 Thread platanthera
On Monday 17 May 2004 14:41, Ruben de Groot wrote:
 On Mon, May 17, 2004 at 01:21:44PM +0200, platanthera typed:
  On Monday 17 May 2004 06:17, Phil Thomson wrote:
   Hi all,
  
   I am a relative newbie to UNIX, going from being an ex-Windows
   user to being an X Windows user! ;-) I recently got FreeBSD
   installed on an older PC with a 3 GB drive and a 5 GB drive
   (which has not yet been mounted). The system is installed on the
   3 GB drive, but my current partition table is inadequate to my
   needs. Here is the output of df -H:
  
   /dev/ad0s1a   260M   254M -15.3M   106%/
   devfs 1.0K   1.0K 0B   100%/dev
   /dev/ad0s1f   3.4G   1.6G   1.6G51%/usr
   /dev/ad0s1e   260M14M   225M 6%/var
 
  hi Phil,
  you could (and definitely should) have a separate slice for /tmp
  and eventually another one for /home too.
  If you decide to reinstall (which is the easiest approach if
  there's 'not much too lose yet' on your system) just hit 'a' in the
  disklabel editor of sysinstall(8). This will create separate slices
  for /, swap, /var, /tmp and /usr, and will result in a reasonable
  disk layout for a desktop system.
  If you do not want to reinstall and have free space left on your
  other hard disk, you can create a bsd partition there and one or
  more slices inside this partition (250M should be enough for /tmp
  under 'normal' circumstances). Then you can mount the new file
  systems under arbitrary mount points, move the content of /tmp (and
  eventually /usr/home) over and adjust /etc/fstab. Feel free to
  check back with the list if you want to go this way and need more
  detailed advice.

 When you say partition, you really mean slice and vice-versa.

 Ruben

oops.. thanks for the correction. maybe I should stop flirting with 
Linux .-)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help with editing partition tables

2004-05-17 Thread Robert Huff

platanthera writes:

  you could (and definitely should) have a separate slice for /tmp
  and eventually another one for /home too.

May I ask your logic here?  Is this about safety, convenience,
overcrowding?


Robert Huff



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


Re: Help with editing partition tables

2004-05-17 Thread platanthera
On Monday 17 May 2004 17:07, Robert Huff wrote:
 platanthera writes:
   you could (and definitely should) have a separate slice for /tmp
   and eventually another one for /home too.

   May I ask your logic here?  Is this about safety, convenience,
 overcrowding?

You noticed that I accidently mixed up slices with partitions, didn't 
you?

Separating /usr, /tmp and /var from the / filesystem
(a) reduces write access to the / fs significantly, thus increasing your 
chances to get away without serious trouble in cases of enforced hard 
reboot (power failure etc.) and
(b) allows you to take advantage of soft updates for the non-/ fs' which 
results in better fs performance (which is probably not very important 
for /tmp).
Whether you create a separate /home partition or not on a single user 
machine is more or less a matter of your individual preferences.

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


Re: Help with editing partition tables

2004-05-16 Thread Viktor Lazlo
On Sun, 16 May 2004, Phil Thomson wrote:

 Hi all,

 I am a relative newbie to UNIX, going from being an ex-Windows user to
 being an X Windows user! ;-) I recently got FreeBSD installed on an older
 PC with a 3 GB drive and a 5 GB drive (which has not yet been mounted).
 The system is installed on the 3 GB drive, but my current partition table
 is inadequate to my needs. Here is the output of df -H:

 /dev/ad0s1a   260M   254M -15.3M   106%/
 devfs 1.0K   1.0K 0B   100%/dev
 /dev/ad0s1f   3.4G   1.6G   1.6G51%/usr
 /dev/ad0s1e   260M14M   225M 6%/var

 As you can see /dev/ad0s1a is dangerously full, and I hadn't finished
 installing applications yet (it got this full as I was
 compiling/installing Pine). Is there a way to change the partition table
 to allocate more space to /dev/ad0s1a? Sounds like a job for fdisk, but
 man fdisk leave me none the wiser on how to proceed with this. I've
 checked the online handbook too. Can anyone point me to a guide on this
 process or give me some pointers? TIA!

Most likely the problem is /root filling up with stuff that shouldn't be
there--if you have created a normal user start using that one for your
daily activity and clean out all the app-related files and directories in
/root.

Cheers,

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