Operating System - Linux
1755637 Members
3267 Online
108837 Solutions
New Discussion юеВ

creating new linux filesystem

 
Gerald_7
New Member

creating new linux filesystem

I 've installed RH Linux 7.2 on a Intel processor. I have 70 Gbytes of disk space
on my IDE disk drive. I want to create
several new filesystems(u0, u1, u2; u3)
on the same disks. What is the best(easiest)
way of accomplishing this?

Thanks
open source forever
5 REPLIES 5
Junior C.
Frequent Advisor

Re: creating new linux filesystem

Greald,

The following link should help you.

www.sistina.com/products_lvm.htm


JRC
I_M
Honored Contributor

Re: creating new linux filesystem

Hi

(1) use fdisk to create partition.
(2) use mkfs to create filesystem

# mkfs -t ext2 /dev/hdax (ext2 fs)
# mke2fs -j /dev/hdax (ext3 fs)
# mkfs -t msdos /dev/hdax (dos fs)

(3) mount fs (edit /etc/fstab)

(4) Enjoy


Gerald_7
New Member

Re: creating new linux filesystem

Will using fdisk and mkfs be innocolous to the
RH O.S. and file systems currently installed
on the disk drive?

Thanks,


gerald
open source forever
Sachin Patel
Honored Contributor

Re: creating new linux filesystem

Hi Gerald,
use ext3 file system rather then ext2. It is fast to recover and you have less data loss.

Sachin
Is photography a hobby or another way to spend $
Mark Fenton
Esteemed Contributor

Re: creating new linux filesystem

Gerald -- that depends on whether you have "extra" - unused space.

If you've already assigned all space on the drive to partitions, obviously you'll have to redo the whole thang and start over -- there not being any way to gracefully reduce an active partition.

If you do have un-allocated space, allocating it shouldn't do violence to existing partitions.