Sponsored Content
Operating Systems Solaris How to use FORMAT and PARTITION command on Solaris 9 Post 302106244 by duke0001 on Wednesday 7th of February 2007 10:24:15 AM
Old 02-07-2007
How to use FORMAT and PARTITION command on Solaris 9

I am seeking advice from experts in this forum. Please help me.

I have tow disks on Sun Sparc box. Disk one has been installed Solaris 9 system. The disk two has been partitioned as one disk with 140 GB on the partition /dev/dsk/c1t1d0s6. Right now, I want to modify it as two partitions. I have typed ' man format' to read the description. But I am still not sure about these synopsises. I like to partition disk two as two partitions. one will be using the same partition as /dev/dsk/c1t1d0s6 with about 90 GB. another partition will be /dev/dsk/c1t1d0s5 with about 50 GB. Could you please help me on necessary steps using FORMAT or PARTITION commands with options. I will appreciated your kindness very much. The current partitioned table layout like this:

Part tag flag cylinders size
0 root wm 0 - 12 129.19MB
1 swap wu 13 - 25 129.19MB
2 backup wu 0 - 14086 136.71GB
3 unassigned wm 0 0
4 unassigned wm 0 0
5 unassigned wm 0 0
6 usr wm 26 - 14086 136.36GB
7 unassigned wm 0 0

Last edited by duke0001; 02-07-2007 at 12:55 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

format fat partition in unix

I got a FAT partition mounted as /mnt, as I believed you only can mount partitions when they are formated, but when I want to copy a file to the /mnt partition I only get errors...should I format it or do I have to change settings? I only can work through the "WebMin" (a GREAT TOOL!) cause I'm... (2 Replies)
Discussion started by: NaRtHeXs
2 Replies

2. Filesystems, Disks and Memory

re-partition disks on solaris

hi all, i was wondering if i have some volume manager and i want to format all partitions/disks and re-create new slices can i use regular format command or what? i think veritas volume manager is already installed. (2 Replies)
Discussion started by: Bashar
2 Replies

3. Solaris

Solaris 8 partition - compression

Hi, Anyone know if I have a mount point /data , can it turn on compression like what the MS Windows does ???? Thanks (2 Replies)
Discussion started by: civic2005
2 Replies

4. UNIX for Advanced & Expert Users

How to merge solaris partition

I m using solaris 8. I have some free space on my hard disk. I want to merge that space into /export/home. Please tell me complete procedure for doing it. (7 Replies)
Discussion started by: mansoorulhaq
7 Replies

5. Linux

problem to format linux partition

hi friends one week ago, i have installed fedoa 9 on my home pc. i already have windows xp on that machine. unfortunately my windows xp has corrupted. again i want to install windows xp but it is not installing. will i format my linux partition or some other option is there. please help me... (0 Replies)
Discussion started by: praneshmishra08
0 Replies

6. Red Hat

Help me to format partition

Dear all! I'm reading to install Oracle 10g using ASM in single Database on RHEL 5. The only one hard-disk was 320gb on this machine, so, I just want to device the un-formatted disk into 4 raws device. http://gi132.photobucket.com/groups/q34/Q42288CMBQ/1.jpg ... (2 Replies)
Discussion started by: trantuananh24hg
2 Replies

7. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

8. Filesystems, Disks and Memory

Can I format a partition in Linux with FAT32 or NTFS?

I tried in fedora 9 to format a partition with FAT32 or NTFS but failed mkfs -t NTFS /dev/sdb3 mkfs -t FAT32 /dev/sdb3 In both the output says the the device isn't present. the output is something like this: mkfs.FAT32: no device present mkfs.NTFS: no device present I am able to format in... (2 Replies)
Discussion started by: ravisingh
2 Replies

9. Solaris

Solaris 10 Sparc. How to change Vendor info of SAN disks reported in "format" command?

Greetings! After block level migration using an external appliance, the luns are getting reported as DGC-RAID5 and these luns are infact from the new storage. I have a query on changing the device Vendor info from DGC-RAID5 to HP3par in the format o/p only. AVAILABLE DISK SELECTIONS: ... (3 Replies)
Discussion started by: n_Bhaskar
3 Replies
HFORMAT(1)						      General Commands Manual							HFORMAT(1)

NAME
hformat - create a new HFS filesystem and make it current SYNOPSIS
hformat [-f] [-l label] destination-path [partition-no] DESCRIPTION
hformat is used to write a new HFS filesystem to a volume. A UNIX pathname to the volume's destination must be specified. The destination may be either a block device or a regular file, but it must already exist and be writable. An optional label can be specified to name the volume. The name must be between 1-27 characters and cannot contain a colon (:). By default, the volume will be named Untitled. If the destination medium is partitioned, one partition must be selected to receive the filesystem. If there is only one HFS partition on the medium, it will be selected by default. Otherwise, the desired partition number must be specified (as the ordinal nth HFS partition) on the command-line. The size of the partition determines the size of the resulting volume. Partition number 0 can be specified to format the entire medium as a single filesystem without a partition map, erasing any existing parti- tion information. Since this will destroy all the partitions, the -f option must be specified to force this operation if the medium cur- rently contains a partition map. If the medium is not partitioned (or if partition 0 is specified), the size or capacity of the medium determines the size of the resulting volume. The new volume will be empty and will become "current" so subsequent commands will refer to it. The current working directory for the vol- ume is set to the root of the volume. EXAMPLES
% hformat /dev/fd0 If a floppy disk is available as /dev/fd0, this formats the disk as an HFS volume named Untitled. (N.B. The floppy must already have received a low-level format by other means.) % dd if=/dev/zero of=disk.hfs bs=1k count=800 % hformat -l "Test Disk" disk.hfs This sequence creates an 800K HFS volume image in the file disk.hfs in the current directory, and names it Test Disk. % hformat -l "Loma Prieta" /dev/sd2 1 If a SCSI disk is available as /dev/sd2, this initializes the first HFS partition on the disk (which must already exist) with a new filesystem, naming the resulting volume Loma Prieta. % hformat -f /dev/sd2 0 This causes the medium accessible as /dev/sd2 to be reformatted as a single HFS volume, ignoring and erasing any existing partition information on the medium. The -f option must be specified if the medium is currently partitioned; otherwise the command will fail. NOTES
This command does not create or alter partition maps, although it can erase them (as described above). Any partition number specified on the command line must already exist. The smallest volume size which can be formatted with hformat is 800K. SEE ALSO
hfsutils(1), hmount(1) FILES
$HOME/.hcwd AUTHOR
Robert Leslie <rob@mars.org> HFSUTILS
08-Nov-1997 HFORMAT(1)
All times are GMT -4. The time now is 08:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy