- Ubuntu 12,04
- 1 6TB physical volume (the one with data) [ext4]
- 1 13TB PV (no data... I think?) [ext4]
Here is the story...
- I created an ext4 on the 13TB PV, added the 13TB to the VG to make a 13TB volume group.
- Everything went fine and then I ran:
And to my surprise.. I couldn't resize past 16TB ! (crap! should have checked this first!).
So, nothing happened.. Now what I want to do is remove the 13TB PV from the VG and do something else with it... but I get the following error:
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 HPUX
vgremove
vgremove(1M)vgremove(1M)NAME
vgremove - remove LVM volume group definition from the system
SYNOPSIS
vg_name ...
Remarks
If a combination of volume groups version 1.0 and 2.0 or higher arguments are supplied, then the arguments might not be processed in the
order they are listed on the command line.
DESCRIPTION
The command removes from the system the last physical volume of the volume group and the definition of the volume group or groups specified
by vg_name .... Since all system knowledge of the volume group and its contents are removed, the volume group can no longer be accessed.
To move a volume group from one system to another, use the command instead (see vgexport(1M)).
Before executing remove all logical volumes residing on the last physical volume by executing (see lvremove(1M)).
Before removing a volume group, two steps are necessary:
1. Remove all the logical volumes belonging to the group by using the command (see lvremove(1M)).
2. Remove all but one physical volume belonging to the volume group by using the command (see vgreduce(1M)).
If there is any physical volume group created under vg_name ..., the physical volume group information is also removed from file
Options and Arguments
recognizes the following option and argument:
For each volume group removed, also
remove its volume group directory and file
vg_name The path name of a volume group.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)).
EXAMPLES
Remove volume group from the system:
SEE ALSO lvremove(1M), vgchange(1M), vgreduce(1M).
vgremove(1M)