08-30-2010
Disk partitioning commands for RHEL5
I'm new to Linux 5, going through initial phases of installation and setting up devices, etc,, and much to my surprise discovered also an existence of a 2nd hard drive to try to initialize and partition perhaps using any built-in command i.e. "fdisk" or similar, but I couldn't get the command to work. I'm currently using bash shell. What could I be missing, other than a brain? Any help or suggestion would be much appreciated. Thank you.
Last edited by su; 08-30-2010 at 07:55 PM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
To run UNIX, can the hard disk be partitioned so I could use that part for UNIX and the other for my existing Windows '98? At the moment there are hard drives C: & D:. Also, where can I obtain the UNIX software?.....Your response is appreciated. (2 Replies)
Discussion started by: hpin
2 Replies
2. Linux
Hi All,
Can anybody please help me with finding commands on LINUX for the following:
processor:
Availability
PowerManagementSupported
Description
also for OS patch i need to know the following info:
SeverityRating
ServicePackInEffect
for disk partition:
Description
BlockSize ... (1 Reply)
Discussion started by: Veenak15
1 Replies
3. UNIX for Advanced & Expert Users
Dear Sun gurus,
I have Sun Fire V240 server with its StorEdge 3300 disk-array. Following are its disks appeared in format command. I have prepared its partitions thru format and metainit & metattach (may be i have made wrong steps, causing the errors below because I have done thru some document... (1 Reply)
Discussion started by: shafeeq
1 Replies
4. Shell Programming and Scripting
Hello!
I need to write partitioning script wich would work in rescue mode. It will prepare partitions and unpack linux on it. However I need to calculate whole size of the disk and create:
/dev/sda1 --> One big partition (minus (2*size of memory) for swap)
/dev/sda2 --> Swap partition... (1 Reply)
Discussion started by: pug123
1 Replies
5. Shell Programming and Scripting
hy i have written a K-shell script that will calculate the number of Disk space used by all the directories under the HOMe dir
#!/bin/ksh
cd /ednpdtu3/u01/pipe
count=`ls -ltr | grep ^d | wc -l`
echo "$count Dir found in HOME DIR"
a1=1
while
do
b=`ls -ltr | grep ^d | head -$a1 |... (2 Replies)
Discussion started by: ali560045
2 Replies
6. Solaris
Total disk size is 38912 cylinders
Cylinder size is 32130 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
... (2 Replies)
Discussion started by: seyiisq
2 Replies
7. Solaris
Hi all
I'm having difficulty setting up a proper disk structure on a 72GB HDD. The drive was previously part of a zfs pool. The zpool has ben destroyed and now I want to use the disk in a raid 5 array. I need to partition the disk accordingly though.
This is what the partition table currently... (7 Replies)
Discussion started by: notreallyhere
7 Replies
8. Red Hat
Hi Everyone,
I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Discussion started by: bobby320
2 Replies
9. UNIX for Dummies Questions & Answers
I m not sure if this is a right question to ask .
During the installation of the OS, installation sw does partitioning for you.
I m not quit sure if they have used parted or fdisk to partition the disk.
(If they are using fdisk then you can't make partition > 2Tb )correct me if i m wrong.Also... (5 Replies)
Discussion started by: pinga123
5 Replies
LEARN ABOUT HPUX
install-mh
INSTALL-MH(8) [nmh-1.5] INSTALL-MH(8)
NAME
install-mh - initialize the nmh environment
SYNOPSIS
/usr/lib/mh/install-mh [-auto] [-check] [-version] [-help]
DESCRIPTION
Install-mh is the nmh program to create the initial setup for a first-time nmh user. Install-mh lives in two places for historical rea-
sons.
The -auto option does things as automatically as possible and makes install-mh less chatty.
The user is asked for the name of the directory that will be designated as the user's nmh directory. If this directory does not exist, the
user is asked if it should be created. Normally, this directory should be under the user's home directory, and has the default name of
``Mail''. Install-mh writes an initial .mh_profile for the user.
As with all nmh commands, install-mh first checks for the existence of the $MH environment variable since that gives the profile path if
set. If it isn't set, the $HOME environment variable is consulted to determine the user's home directory. If $HOME is not set, then the
/etc/passwd file is consulted.
When creating the users initial .mh_profile, install-mh will check for the existence of a global profile /etc/nmh/mh.profile. If found,
this will be used to initialize the new .mh_profile.
The -check option can be used to check whether or not nmh has been installed. This can be used by other programs to determine whether or
not nmh has been installed without their having to know the internals of nmh.
FILES
$HOME/.mh_profile The user profile
/etc/nmh/mh.profile Used to initialize user profile
PROFILE COMPONENTS
Path: To set the user's nmh directory
CONTEXT
With -auto, the current folder is changed to "inbox".
MH.6.8 11 June 2012 INSTALL-MH(8)