LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   how to extend partition? (https://www.linuxquestions.org/questions/%2Absd-17/how-to-extend-partition-522738/)

Sushy 01-25-2007 12:04 PM

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

nilleso 01-25-2007 12:20 PM

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

cheers:)

nilleso 01-25-2007 12:29 PM

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.


All times are GMT -5. The time now is 03:39 AM.