re-partition disks on solaris


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory re-partition disks on solaris
Prev   Next
# 1  
Old 05-20-2003
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Make 48 disks(files) on solaris 10

Hello, to simulate an environment with 48 disks using Solaris 10 x86, i try toMake 48 disks (files) with MKFILE : #for i in c{0,1,2,3,4,5}t{0,1,2,3,4,5,6,7}d0 >do > mkfile 100m $i >done But i received like result : #ls /test_zfs c{0,1,2,3,4,5}t{0,1,2,3,4,5,6,7}d0 Any help... (2 Replies)
Discussion started by: herbich1985
2 Replies

3. Solaris

list all solaris Disks

Hi Guy's can anyone advise me .. I have mapped some of EMC devices from EMC Storage to Sun Solaris server and I want to list all the disk which are assigned from the storage can anyone advise me with the command how to can I list all the disk in Solaris Thanks .. (2 Replies)
Discussion started by: roooooot
2 Replies

4. Solaris

Solaris not recognizing RAID 5 disks

I've just installed Sol 10 Update 9 on a Sun 4140 server and have a RAID 1 configuration (2 136 Gb drives) for the OS and have created a RAID 5 array (6 136 GB) drives. When i log into the system I am unable to see the RAID 5 disks at all. I've tried using the devfsadm command but no luck and... (9 Replies)
Discussion started by: goose25
9 Replies

5. Solaris

How to create virtual disks in solaris

Hi, I have installed oracle 10g release 2 on solaris 10 Zone. I want to configure ASM in local Zone using virtual disks in place of real disks. I have configured ASM using virtual disks in place real disk in Solaris 10 Global zone. How i can do in local Zone Kindly guid me with proper... (1 Reply)
Discussion started by: malikshahid85
1 Replies

6. UNIX for Dummies Questions & Answers

How can partition out /var with these two separate 10 gigabyte disks?

In my company ,there is a mail server that services approximately 3,000 users. 2,000 users access their email via a POP-3 service, while the remaining 1,000 users access their email via a Unix mail reader. Recently users have complained about speed of disk access, so a new 10 gigabyte disk has... (1 Reply)
Discussion started by: lemon_06
1 Replies

7. Shell Programming and Scripting

getting number of disks in solaris

Friends, i have used the following code to get the number of disks in solaris echo | pfexec format | egrep -v "Searching|AVAILABLE|Specify|^$|@" | wc -l is there a better way to get the same result (5 Replies)
Discussion started by: achak01
5 Replies

8. Solaris

disks in solaris

whats the command to find name of all disks. Is it iostat -En ? (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies

9. Solaris

Hard disks in solaris

I need to insert a new hard disk into a Sun Fire v210 machine. The (only) internal disk which is already in the machine is part number XRA-SC1CB-73G10K (DISK DRIVE ASSY. 73GB, 10K RPM, with SPUD BRACKET). I also have nearly endless access to IBM hard disks at extremely low prices and would there... (2 Replies)
Discussion started by: sprellari
2 Replies

10. Solaris

Solaris x86 - 2 new disks

Have a compaq dl380 proliant installed with solaris.. It has a smart array 5i controller.. currently I have 2 18gb disks - mirrored as far as I can see... I have just put in 2 36gb disks (just physically put in) How do I get solaris to recognise them so I can use them? format command - only... (2 Replies)
Discussion started by: frustrated1
2 Replies
Login or Register to Ask a Question
virt-format(1)						      Virtualization Support						    virt-format(1)

NAME
virt-format - Erase and make a blank disk SYNOPSIS
virt-format [--options] -a disk.img [-a disk.img ...] DESCRIPTION
Virt-format takes an existing disk file (or it can be a host partition, LV etc), erases all data on it, and formats it as a blank disk. It can optionally create partition tables, empty filesystems, logical volumes and more. To create a disk containing data, you may be better to use virt-make-fs(1). If you are creating a blank disk to use in guestfish(1), you should instead use the guestfish -N option. Normal usage would be something like this: virt-format -a disk.qcow or this: virt-format -a /dev/VG/LV "disk.qcow" or "/dev/VG/LV" must exist already. Any data on these disks will be erased by these commands. These commands will create a single empty partition covering the whole disk, with no filesystem inside it. Additional parameters can be used to control the creation of partitions, filesystems, etc. The most commonly used options are: --filesystem=[ext3|ntfs|vfat|...] Create an empty filesystem ("ext3", "ntfs" etc) inside the partition. --lvm[=/dev/VG/LV] Create a Linux LVM2 logical volume on the disk. When used with --filesystem, the filesystem is created inside the LV. For more information about these and other options, see "OPTIONS" below. The format of the disk is normally auto-detected, but you can also force it by using the --format option (q.v.). In situations where you do not trust the existing content of the disk, then it is advisable to use this option to avoid possible exploits. OPTIONS
--help Display brief help. -a file --add file Add file, a disk image, host partition, LV, external USB disk, etc. The format of the disk image is auto-detected. To override this and force a particular format use the --format=.. option. Any existing data on the disk is erased. --filesystem=ext3|ntfs|vfat|... Create an empty filesystem of the specified type. Many filesystem types are supported by libguestfs. --filesystem=none Create no filesystem. This is the default. --format=raw|qcow2|.. --format The default for the -a option is to auto-detect the format of the disk image. Using this forces the disk format for -a options which follow on the command line. Using --format with no argument switches back to auto-detection for subsequent -a options. For example: virt-format --format=raw -a disk.img forces raw format (no auto-detection) for "disk.img". virt-format --format=raw -a disk.img --format -a another.img forces raw format (no auto-detection) for "disk.img" and reverts to auto-detection for "another.img". If you have untrusted raw-format guest disk images, you should use this option to specify the disk format. This avoids a possible security problem with malicious guests (CVE-2010-3851). --lvm=/dev/VG/LV Create a Linux LVM2 logical volume called "/dev/VG/LV". You can change the name of the volume group and logical volume. --lvm Create a Linux LVM2 logical volume with the default name ("/dev/VG/LV"). --lvm=none Create no logical volume. This is the default. --partition Create either an MBR or GPT partition covering the whole disk. MBR is chosen if the disk size is < 2 TB, GPT if >= 2 TB. This is the default. --partition=gpt Create a GPT partition. --partition=mbr Create an MBR partition. --partition=none Create no partition table. Note that Windows may not be able to see these disks. -v --verbose Enable verbose messages for debugging. -V --version Display version number and exit. --wipe Normally virt-format does not wipe data from the disk (because that takes a long time). Thus if there is data on the disk, it is only hidden and partially overwritten by virt-format, and it might be recovered by disk editing tools. If you use this option, virt-format writes zeroes over the whole disk so that previous data is not recoverable. -x Enable tracing of libguestfs API calls. EXIT STATUS
This program returns 0 on success, or 1 on failure. SEE ALSO
guestfs(3), guestfish(1), virt-filesystems(1), virt-make-fs(1), virt-rescue(1), virt-resize(1), <http://libguestfs.org/>. AUTHOR
Richard W.M. Jones <http://people.redhat.com/~rjones/> COPYRIGHT
Copyright (C) 2012 Red Hat Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. libguestfs-1.18.1 2013-12-07 virt-format(1)