08-31-2010
...and although highly recommended, it's not necessary to configure an LVM though... you can just fdisk the drive with a standard Linux native format (usually 0x83) and create the filesystem with mkfs or something similar.
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
MKFS(8) System Administration MKFS(8)
NAME
mkfs - build a Linux filesystem
SYNOPSIS
SYNOPSIS
mkfs [options] [-t type fs-options] device [size]
DESCRIPTION
mkfs is used to build a Linux filesystem on a device, usually a hard disk partition. The device argument is either the device name (e.g.
/dev/hda1, /dev/sdb2), or a regular file that shall contain the filesystem. The size argument is the number of blocks to be used for the
filesystem.
The exit code returned by mkfs is 0 on success and 1 on failure.
In actuality, mkfs is simply a front-end for the various filesystem builders (mkfs.fstype) available under Linux. The filesystem-specific
builder is searched for in a number of directories, like perhaps /sbin, /sbin/fs, /sbin/fs.d, /etc/fs, /etc (the precise list is defined at
compile time but at least contains /sbin and /sbin/fs), and finally in the directories listed in the PATH environment variable. Please see
the filesystem-specific builder manual pages for further details.
OPTIONS
-t, --type type
Specify the type of filesystem to be built. If not specified, the default filesystem type (currently ext2) is used.
fs-options
Filesystem-specific options to be passed to the real filesystem builder. Although not guaranteed, the following options are sup-
ported by most filesystem builders.
-V, --verbose
Produce verbose output, including all filesystem-specific commands that are executed. Specifying this option more than once
inhibits execution of any filesystem-specific commands. This is really only useful for testing.
-V, --version
Display version information and exit. (Option -V will display version information only when it is the only parameter, otherwise it
will work as --verbose.)
-h, --help
Display help and exit.
BUGS
All generic options must precede and not be combined with filesystem-specific options. Some filesystem-specific programs do not support
the -V (verbose) option, nor return meaningful exit codes. Also, some filesystem-specific programs do not automatically detect the device
size and require the size parameter to be specified.
AUTHORS
David Engel (david@ods.com)
Fred N. van Kempen (waltje@uwalt.nl.mugnet.org)
Ron Sommeling (sommel@sci.kun.nl)
The manual page was shamelessly adapted from Remy Card's version for the ext2 filesystem.
SEE ALSO
fs(5), badblocks(8), fsck(8), mkdosfs(8), mke2fs(8), mkfs.bfs(8), mkfs.ext2(8), mkfs.ext3(8), mkfs.ext4(8), mkfs.minix(8), mkfs.msdos(8),
mkfs.vfat(8), mkfs.xfs(8), mkfs.xiafs(8)
AVAILABILITY
The mkfs command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2011 MKFS(8)