LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-25-2007, 12:04 PM   #1
Sushy
Member
 
Registered: Sep 2005
Distribution: FreeBSD
Posts: 84

Rep: Reputation: 15
how to extend partition?


hi!

I`m running FreeBSD 6.2 Release.
I have 2 hdd installed.
ad0 - 3GB hdd
ad2 - 1GB hdd

Currently I have this configuration
[HTML]
df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 496M 59M 398M 13% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s1e 496M 14K 456M 0% /tmp
/dev/ad0s1f 868M 771M 27M 97% /usr
/dev/ad2s1d 1.0G 630K 925M 0% /var
/dev/ad0s1d 1.0G 4.0K 957M 0% /tmnt[/HTML]

So /usr dir is almost full, so I want to extend it with /dev/ad0s1d on the same hdd (temporarily mounted as /tmnt).
What should I do to achieve this?!

Should I use bsdlabel utility or ...?


Best Regards
 
Old 01-25-2007, 12:20 PM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
check out GParted for gnome or qtparted for kde or just plain ol parted for the shell command.

cheers
 
Old 01-25-2007, 12:29 PM   #3
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
one additional note:
Quote:
FreeBSD has a disk label system that is incompatible with MSDOS partition tables, and a partition slice system that is compatible with MSDOS partition tables. Parted only supports the BSD disk label system. It is unlikely to support the partition slice system, because the semantics are rather strange, and don't work like "normal" partition tables do.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend LVM partition rconan Linux - Software 5 08-31-2010 02:32 AM
How to extend an existing partition without LVM james.reid Linux - Software 14 06-02-2006 12:48 AM
How do I extend an ext3 partition? chrislev Linux - Hardware 2 01-27-2006 10:35 AM
How can I extend my partition which is running out of space bloretech Linux - Enterprise 1 09-21-2005 09:20 PM
howto extend ext3 partition compfriend Linux - Hardware 1 09-16-2003 10:42 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration