Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Removing a PV from a VG that hasn't been used Post 302767975 by hpimentel on Thursday 7th of February 2013 08:43:16 PM
Old 02-07-2013
No I haven't.

Excuse my ignorance... but would that do anything to the data on the logical volume? I want to keep the data on the first PV.

Are you saying i could just remove the logical volume and then recreate another one later without loss of data?

Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

removing tabs

Hi Everyone, Im trying to write a shell script that removes a "newline character followed by a tab" throughout a file. basically it should get rid of it. Here's an example File Before The cat sat on the mat File After The cat sat on the mat This message writing screen has... (7 Replies)
Discussion started by: nbvcxzdz
7 Replies

2. Shell Programming and Scripting

removing certain tabs

I have a tab delimited file with many lines, one for each record. each line is tab delimited with a tab before the first data field, a tab between each data field, and a tab after the last data field before it moves onto the next line. I need to remove only the preceeding tab before the first... (2 Replies)
Discussion started by: djkane
2 Replies

3. UNIX for Advanced & Expert Users

Removing files

Hi, It seems someone has created files instead of actually running the commands, as below: -rw-r--r-- 1 oracle92 dba 0 Mar 2 11:19 PRIML_070302.ok -rw-r--r-- 1 oracle92 dba 557 Mar 2 11:20 PRIVH_070302.dat -rw-r--r-- 1 oracle92 dba 0 Mar 12 11:57... (2 Replies)
Discussion started by: LiquidChild
2 Replies

4. Shell Programming and Scripting

removing duplicates

Hi I have a file that are a list of people & their credentials i recieve frequently The issue is that whne I catnet this list that duplicat entries exists & are NOT CONSECUTIVE (i.e. uniq -1 may not weork here ) I'm trying to write a scrip that will remove duplicate entries the script can... (5 Replies)
Discussion started by: stevie_velvet
5 Replies

5. Shell Programming and Scripting

Removing ^M from a file

i have a file that has ^M character at the end of each line there are atleast 150 files like this and i want to remove the special character(^M) . i want a script which does this which takes filename as an argument. Please help in this regards. (5 Replies)
Discussion started by: pgmfourms
5 Replies

6. Programming

Help with removing \n from a string in C

void remove_new_line(char *s) { while (*s) { if (*s == '\n') { *s='\0'; } s++; } } // i tried this code for removing a \n from a string but its not working (12 Replies)
Discussion started by: omega666
12 Replies

7. Emergency UNIX and Linux Support

Removing all the duplicates

i want to remove all the duplictaes in a file.I dont want even a single entry. For the input data: 12345|12|34 12345|13|23 3456|12|90 15670|12|13 12345|10|14 3456|12|13 i need the below data in one file 15670|12|13 and the below data in another file (9 Replies)
Discussion started by: pandeesh
9 Replies

8. Shell Programming and Scripting

removing '[20]' from a file

Hey guys, I'm using sed to remove from a file and using either of this: sed 's///g'| sed 's/''//g'| sed 's/'$(echo "")'//g'| but those are just deleting '1' from the file, could you please help me with that? (2 Replies)
Discussion started by: Johanni
2 Replies

9. Solaris

zpool hasn't expanded

Hi Guys, I have a raidz zpool that consists of four disks. 2x2TB, 1x1TB and 1x0.75TB. Originally it was only 1x1TB, 3x0.75TB, and I had around 1.7TB of storage capacity. I've just switched out two of the 0.75TB disks for the 2x2TB ones. I did this one at a time and now the resilvering is... (2 Replies)
Discussion started by: rudigarude
2 Replies

10. UNIX for Dummies Questions & Answers

Removing PATTERN from txt without removing lines and general text formatting

Hi Everybody! First post! Totally noobie. I'm using the terminal to read a poorly formatted book. The text file contains, in the middle of paragraphs, hyphenation to split words that are supposed to be on multiple pages. It looks ve -- ry much like this. I was hoping to use grep -v " -- "... (5 Replies)
Discussion started by: AxeHandle
5 Replies
FSADM(8)																  FSADM(8)

NAME
fsadm - utility to resize or check filesystem on a device SYNOPSIS
fsadm [options] check device fsadm [options] resize device [new_size[BKMGTEP]] DESCRIPTION
fsadm utility checks or resizes the filesystem on a device. It tries to use the same API for ext2, ext3, ext4, ReiserFS and XFS filesys- tem. OPTIONS
-e, --ext-offline Unmount ext2/ext3/ext4 filesystem before doing resize. -f, --force Bypass some sanity checks. -h, --help Display the help text. -n, --dry-run Print commands without running them. -v, --verbose Be more verbose. -y, --yes Answer "yes" at any prompts. new_size Absolute number of filesystem blocks to be in the filesystem, or an absolute size using a suffix (in powers of 1024). If new_size is not supplied, the whole device is used. DIAGNOSTICS
On successful completion, the status code is 0. A status code of 2 indicates the operation was interrupted by the user. A status code of 3 indicates the requested check operation could not be performed because the filesystem is mounted and does not support an online fsck(8). A status code of 1 is used for other failures. EXAMPLES
Resize the filesystem on logical volume /dev/vg/test to 1000 megabytes. If /dev/vg/test contains ext2/ext3/ext4 filesystem it will be unmounted prior the resize. All [y|n] questions will be answered 'y'. fsadm -e -y resize /dev/vg/test 1000M ENVIRONMENT VARIABLES
TMPDIR The temporary directory name for mount points. Defaults to "/tmp". DM_DEV_DIR The device directory name. Defaults to "/dev" and must be an absolute path. SEE ALSO
lvm(8), lvresize(8), lvm.conf(5), fsck(8), tune2fs(8), resize2fs(8), reiserfstune(8), resize_reiserfs(8), xfs_info(8), xfs_growfs(8), xfs_check(8) Red Hat, Inc LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) FSADM(8)
All times are GMT -4. The time now is 06:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy