02-28-2013
Since you already expanded the logical volume, the extents are already being used by that LVOL.
You can check that with lvdisplay -m <lvol in question>.
After resize2fs, did the mentioned filesystem increased in size (even partial?)
If yes, you will need to put the new disk inside, and use pvmove to move the extents from that disk to new one.
After that you can use vgreduce.
Can you please post the output of
lvdisplay -m LVOL
vgdisplay -v VOLUMEGROUP
Also df output would be useful.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT MINIX
dumpe2fs
DUMPE2FS(8) System Manager's Manual DUMPE2FS(8)
NAME
dumpe2fs - dump ext2/ext3/ext4 filesystem information
SYNOPSIS
dumpe2fs [ -bfghixV ] [ -o superblock=superblock ] [ -o blocksize=blocksize ] device
DESCRIPTION
dumpe2fs prints the super block and blocks group information for the filesystem present on device.
Note: When used with a mounted filesystem, the printed information may be old or inconsistent.
OPTIONS
-b print the blocks which are reserved as bad in the filesystem.
-o superblock=superblock
use the block superblock when examining the filesystem. This option is not usually needed except by a filesystem wizard who is
examining the remains of a very badly corrupted filesystem.
-o blocksize=blocksize
use blocks of blocksize bytes when examining the filesystem. This option is not usually needed except by a filesystem wizard who is
examining the remains of a very badly corrupted filesystem.
-f force dumpe2fs to display a filesystem even though it may have some filesystem feature flags which dumpe2fs may not understand (and
which can cause some of dumpe2fs's display to be suspect).
-g display the group descriptor information in a machine readable colon-separated value format. The fields displayed are the group
number; the number of the first block in the group; the superblock location (or -1 if not present); the range of blocks used by the
group descriptors (or -1 if not present); the block bitmap location; the inode bitmap location; and the range of blocks used by the
inode table.
-h only display the superblock information and not any of the block group descriptor detail information.
-i display the filesystem data from an image file created by e2image, using device as the pathname to the image file.
-x print the detailed group information block numbers in hexadecimal format
-V print the version number of dumpe2fs and exit.
BUGS
You need to know the physical filesystem structure to understand the output.
AUTHOR
dumpe2fs was written by Remy Card <Remy.Card@linux.org>. It is currently being maintained by Theodore Ts'o <tytso@alum.mit.edu>.
AVAILABILITY
dumpe2fs is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO
e2fsck(8), mke2fs(8), tune2fs(8). ext4(5)
E2fsprogs version 1.44.1 March 2018 DUMPE2FS(8)