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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. Solaris
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
4. Solaris
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
5. Solaris
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
6. Filesystems, Disks and Memory
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
7. Fedora
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
8. Red Hat
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
9. Linux
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
10. Red Hat
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
HD(4) Linux Programmer's Manual HD(4)
NAME
hd - MFM/IDE hard disk devices
DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major
device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave
hdd.
General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the
partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order
the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the
four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi-
cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions
on an IDE disk.
For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the
second one.
They are typically created by:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
...
mknod -m 660 /dev/hda8 b 3 8
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
...
mknod -m 660 /dev/hdb8 b 3 72
chown root:disk /dev/hd*
FILES
/dev/hd*
SEE ALSO
chown(1), mknod(1), sd(4), mount(8)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 HD(4)