11-03-2011
Ok i forgot that fdisk only creates the partition as un-formatted then you have to use mke2fs to create partition.
In anyways can this automated I mean can all these options be specified via script i'm asking since its a interactive process.Would like to avoid expect script here.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Members,
I am using SCO-Unix 5.0.5. I have created 2 logical drives but some of the blocks are overlapped and are now giving warning during startup. I have used fsck to settle the problems but to no avail. Kindly help me to sort out the problem.
Thanks (3 Replies)
Discussion started by: nagendrajaiswal
3 Replies
2. Solaris
I have created a pool named earthpool using zpool command. Later I created a file system named earth using zfs command. I changed the mountpoint of earth (file system) using
zfs set mountpoint=/earth earthpool/earth.
Where /earth is a directory created in root using mkdir.
Now, I have a... (8 Replies)
Discussion started by: bharu_sri
8 Replies
3. Filesystems, Disks and Memory
I have 40GB HD with mepis8, swap, MBR and under flags word boot.
I also have a 160 GB external with a few Linux OS, no swaps, no extended etc. I am total Linux no MS
I would feel more secure by resizing that sda1 partition and creating a /boot partition with the MBR housed there. Is that a... (1 Reply)
Discussion started by: worthamtx
1 Replies
4. HP-UX
Hi all, I am new to HP-UX, using SAM I cannot make a print queue on my test server. From my test & live server as the user required and as root I can ping my printer. I have tried to clone the test print queue using the exact same options use on my live system that prints just fine. Can anyone... (9 Replies)
Discussion started by: KmJohnson
9 Replies
5. Windows & DOS: Issues & Discussions
Hi,
How to create a .tar file in windows OS..
I need to ftp tat <filename>.tar file into AIX and untar it there and will use for futher actions..
Please help.. Thanks in advance.. (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
6. 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
7. OS X (Apple)
I have a drive full of diagnostic images (ASD), and I also use it for storage, installers, etc. When I plug it in to a booted system, it has to mount every single volume (about 25) which can take some time. I would like to keep all the ASD partitions from mounting when plugged in/at boot. I know... (0 Replies)
Discussion started by: nextyoyoma
0 Replies
8. Linux
Hi,
I have a server booted into sysresccd (mini-linux OS) with 1 40 GB disk attached
I am trying to create a volume group and restore another server into the new one
However, when I try to create a partition for /boot it seems that my VG in LVM is not recognized anymore
These are the... (2 Replies)
Discussion started by: galuzan
2 Replies
9. Solaris
Hi all,
I am using SPARC Solaris 11.1 with EFI labelled disks.
I am new to ZFS file systems and slightly stuck when trying to create a partition (slice) on one of my LUNs.
EFI labels use sectors and blocks and I am not sure how exactly it works.
From here I can try and create a... (2 Replies)
Discussion started by: selectstar
2 Replies
10. Shell Programming and Scripting
Hello, I have an input that is unformatted text, such as below.
INPUT:
Hola. Me llamo Davíd y soy de Andalucía. Mi color favorito es rojo. ¿Como te llamas? ¿Cuál es tu color favorito?
I want to take each word and punctuation and place it on its own line, with a space in between each individual... (1 Reply)
Discussion started by: owwow14
1 Replies
LEARN ABOUT DEBIAN
pvresize
PVRESIZE(8) System Manager's Manual PVRESIZE(8)
NAME
pvresize - resize a disk or partition in use by LVM2
SYNOPSIS
pvresize [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [--setphysicalvolumesize size] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
OPTIONS
See lvm(8) for common options.
--setphysicalvolumesize size
Overrides the automatically-detected size of the PV. Use with care, or prior to reducing the physical size of the device.
EXAMPLES
Expand the PV on /dev/sda1 after enlarging the partition with fdisk:
pvresize /dev/sda1
Shrink the PV on /dev/sda1 prior to shrinking the partition with fdisk (ensure that the PV size is appropriate for your intended new parti-
tion size):
pvresize --setphysicalvolumesize 40G /dev/sda1
RESTRICTIONS
pvresize will refuse to shrink PhysicalVolume if it has allocated extents after where its new end would be. In the future, it should relo-
cate these elsewhere in the volume group if there is sufficient free space, like pvmove does.
pvresize won't currently work correctly on LVM1 volumes or PVs with extra metadata areas.
SEE ALSO
lvm(8), pvmove(8), lvresize(8), fdisk(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVRESIZE(8)