Partioning Disks In Linux


 
Thread Tools Search this Thread
Operating Systems Linux Partioning Disks In Linux
# 1  
Old 04-06-2007
Partioning Disks In Linux

Hi, group

Just wondering suppose you have linux already installed & now you get a new disk so that your computer has two disks. How do you go about partitioning/slicing the new disk in linux ? which utility do you use ?

Regards
# 2  
Old 04-06-2007
I'm using LVM, what's your OS ? Generally you can do "man fdisk" to get more clarity.
# 3  
Old 04-06-2007
Thanks

My OS is Red Hat Linux
# 4  
Old 04-27-2007
Quote:
Originally Posted by Msororaji
Hi, group

Just wondering suppose you have linux already installed & now you get a new disk so that your computer has two disks. How do you go about partitioning/slicing the new disk in linux ? which utility do you use ?

Regards
first you shoud use the $fdisk /dev/hdb
second use command $mke2fs -j /dev/hdb1
third use command mkdir /dirname
mount -t ext3 /dev/hdb1 /dirname
# 5  
Old 05-04-2007
Quote:
Originally Posted by hexiao
first you shoud use the $fdisk /dev/hdb
Your disk may or may not be located at /dev/hdb. (My 2nd hard disk is at /dev/hdc. I believe this is determined by which IDE interface you plug it into.)

Here is a good tutorial explaining how to do this. I used this tutorial last week to add a second (new) hard drive to my Linux box at work.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Pvcreate vs disk partioning

Hi, Case1 ) When a new disk is added ( ex: /dev/sda ), After scanning we create 1 partition for the whole disk ( ex: /dev/sda1 ) and then pvcreate and then add to a volume group. Query ) 1. We can do directly pvcreate on the whole disk also So, what is the difference between 1.... (3 Replies)
Discussion started by: saurabh84g
3 Replies

2. Linux

Modifying Linux in WesternDigital net disks

Hi, I am installing perl and rsnapshot on the OS of a Western Digital MyBook disk. To install perl the ./Configure command tells me that both 'tr' and 'split' are missing. I don't find them on the net. Where can I download them? Thanks. Charles. (2 Replies)
Discussion started by: mosndup
2 Replies

3. Red Hat

Partioning of Disks on Red Hat Linux

Hello I have two disks on Red Hat Linux box. Disk one has been installed Linux Operating system. The disk two has been partitioned as one disk with 100 GB on the partition /dev/hda1. Right now, I want to modify it as 5 partitions. I like to partition disk 2 into 5 partitions. One... (2 Replies)
Discussion started by: lukas_pise
2 Replies

4. Fedora

Read only disks on Linux system

Hi guys I have a SSL server that is running Fedora 9. I wanted to create a directory but get: mkdir: cannot create directory `test': Read-only file system Any ideas? (4 Replies)
Discussion started by: wbdevilliers
4 Replies

5. Filesystems, Disks and Memory

How do I check 4 physical damaged on Linux hard disks?

How do I check for physical damage on red hat linux hard disks? I tried smartctl /dev/sdb but it came back so fast saying it was ok. Is there a better linux command to check for bad sectors or physical disks in linux? Is there a good way such as with parted or something else? I normally in HP... (4 Replies)
Discussion started by: taekwondo
4 Replies

6. Solaris

Re-using disks

I would like to know if I can move the disks from a V240 chassis into a V440 chassis to use the increased resources (CPU & Memory) to boost performance. I know you can move disks between V210/240 chassis's, but I'm not sure if this would work between 240s & 440s. Any help would be much appreciated. (4 Replies)
Discussion started by: Chains
4 Replies

7. Solaris

Partioning HDD

Hi theres I am quite new to solaris, I have 40GB HDD in which I have created only 10 GB partition & installed solaris 10. Now I want to add another 10GB from remaining 30GB space. I tried this with format utility but I get stuck after I create fdsik partition. After creating this I cant... (1 Reply)
Discussion started by: i_mroy
1 Replies

8. Solaris

Solaris Partioning scheme

Hi I have a sun server. Recently I have attached a new 80 GB disk. I would like to install the Solaris OS on this disk. Now I would be installing some database on this disk. I have decided to allocate a slice of 20GB or DB2 and one more slice of 20GB for Sybase. The / partition would... (4 Replies)
Discussion started by: RajaRC
4 Replies

9. UNIX for Dummies Questions & Answers

Help with installing/partioning/Sol8

I have search the archives with no luck. Looking for help with my specific system. I have an SUN ULTRA 2 with dual 4.3GB HD's. I installed Solaris 8 with default settings (auto configure)and 2nd drive was partioned /export/home/extra as the only mount(4.3 G's). I then reinstalled the OS... (7 Replies)
Discussion started by: finster
7 Replies

10. UNIX for Dummies Questions & Answers

Partioning Drives

I have this 36 GB harddisk which houses the root partition along with a 28 GB partion for the rest of the data. The thing I wish to do is that partition this 28 GB into two partions. I have never partitioned the root disk. I just wanted to know whether is it possible to do when the disk is online... (1 Reply)
Discussion started by: DPAI
1 Replies
Login or Register to Ask a Question