9 More Discussions You Might Find Interesting
1. Solaris
Hi,
I am trying to get an HPz420 workstation instaled (zfs root pool) via a jump-start server.
I have a zfs image (from this workstation) the Solaris release is 10 1/13 update 11.
I use a sparc U25 install server, upgraded to the same solaris build 10 1/13.
This server is configured to install... (8 Replies)
Discussion started by: sc0rpie
8 Replies
2. AIX
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies
4. AIX
Hi everyone, im having a problem with the computation of the PP size for creating a filesystem.
for example my requirement is to create a new filesystem with 10gig of system on aix 5.1 and aix 5.3 system.
here's the result when i run lsvg vgSAN-sparkle
could any provide me an exact... (3 Replies)
Discussion started by: cwiggler
3 Replies
5. Red Hat
Hi everybody,
I work with UNIX-AIX OS, I have to install db2 connect , somebody could explain to me how to create a Filesystem?, user, group, and password? ( I read a little and I know there many types of Filesystems) I have no idea how to do it,
Linux version 2.6.18-92.el5... (2 Replies)
Discussion started by: lauelmar
2 Replies
6. Shell Programming and Scripting
After doing something like:
dd if=/dev/zero of=ext3.img bs=1024 count=1048576
I'd like to put an ext3 filesystem on ext3.img. What should I run? Thanks (2 Replies)
Discussion started by: stevenswj
2 Replies
7. Solaris
How do we determine what command was used (either newfs or mkfs) to create a filesystem?
Thanks, (2 Replies)
Discussion started by: Pouchie1
2 Replies
8. SCO
Hello,
iam pretty new to SCO, installed it yesterday in vm. Now, i'd like to create a filesystem on a file like you can do on lnx or bsd. But seems not possible for me to do so on SCO OpenServer 6.0.0.
Thats what i get:
bash-3.00# uname -a
SCO_SV scosysv 5 6.0.0 i386
bash-3.00# mkfs... (0 Replies)
Discussion started by: user5
0 Replies
9. Solaris
Hi,
I have a 2,1 TB RAID0 Array (3- 750GB discs).
I have Solaris 10 x86 installed.
When I try to create a volume on this drive I receive the following error:
"
WARNING: /pci@0/pci8086/..../sd@6,0 (sd7) disk capacity is too large for current cbd length
"
I assume I can not format... (5 Replies)
Discussion started by: narrok
5 Replies
LEARN ABOUT DEBIAN
virt-format
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)