search for: noheadings

Displaying 20 results from an estimated 68 matches for "noheadings".

Did you mean: headings
2009 Sep 22
3
R PNG graph width limitation
Hi folks, I am trying to do a clustering and generate a long dendrogram in R on Linux server: ========= data<-read.table(file="mean_ratio.txt.noheader",row.names=1,sep="\t",quote="\"") hc<-hclust(dist(data),"ward") png(file="mean_ratio.txt.noheader.ward.png",bg="white",pointsize=8,width=32767,height=1536) plot(hc,hang=-1)
2016 Jul 26
0
[PATCH 4/5] daemon: lvm: list PVs/VGs/LVs with --foreign
...s(+), 4 deletions(-) diff --git a/daemon/lvm.c b/daemon/lvm.c index 831c56e..0123ae5 100644 --- a/daemon/lvm.c +++ b/daemon/lvm.c @@ -194,7 +194,7 @@ do_pvs (void) int r; r = command (&out, &err, - str_lvm, "pvs", "-o", "pv_name", "--noheadings", NULL); + str_lvm, "pvs", "--foreign", "-o", "pv_name", "--noheadings", NULL); if (r == -1) { reply_with_error ("%s", err); free (out); @@ -212,7 +212,7 @@ do_vgs (void) int r; r = command (&out...
2011 Aug 31
1
[PATCH node] fix install when VG exists on disk
...100644 --- a/scripts/storage.py +++ b/scripts/storage.py @@ -90,13 +90,19 @@ class Storage: vg = subprocess.Popen(vg_cmd, shell=True, stdout=PIPE, stderr=STDOUT) vg_output = vg.stdout.read() for vg in vg_output: - pvs = system("pvscan -o pv_name,vg_uuid --noheadings | grep \"%s\" | egrep -v -q \"%s%s[0-9]+|%s \"") % (vg, dev, part_delim, dev) - if pvs > 0: + pvs_cmd = "pvs -o pv_name,vg_uuid --noheadings | grep \"%s\" | egrep -v -q \"%s%s[0-9]+|%s \"" % (vg, dev, part_delim, dev) +...
2015 Nov 10
2
[PATCH] daemon: lvm: Only return public LVs from guestfs_lvs API (RHBZ#1278878).
...ion(-) diff --git a/daemon/lvm.c b/daemon/lvm.c index d989986..6e201e3 100644 --- a/daemon/lvm.c +++ b/daemon/lvm.c @@ -148,7 +148,9 @@ do_lvs (void) r = command (&out, &err, str_lvm, "lvs", - "-o", "vg_name,lv_name", "--noheadings", + "-o", "vg_name,lv_name", + "-S", "lv_role=public", + "--noheadings", "--separator", "/", NULL); if (r == -1) { reply_with_error ("%s", err); --...
2016 Jul 26
8
[PATCH 0/5] Improve LVM handling in the appliance
Hi, this series improves the way LVM is used in the appliance: in particular, now lvmetad can eventually run at all, and with the correct configuration. Also improve the listing strategies. Thanks, Pino Toscano (5): daemon: lvm-filter: set also global_filter daemon: lvm-filter: start lvmetad better daemon: lvm: improve filter for LVs with activationskip flag set daemon: lvm: list
2016 Jan 27
4
[PATCH] lvm: support lvm2 older than 2.02.107
...NUP_FREE char *err = NULL; int r; + int has_S = test_lvs_has_S_opt (); - r = command (&out, &err, - str_lvm, "lvs", - "-o", "vg_name,lv_name", - "-S", "lv_role=public", - "--noheadings", - "--separator", "/", NULL); - if (r == -1) { - reply_with_error ("%s", err); - free (out); + if (has_S < 0) return NULL; + + if (has_S > 0) { + r = command (&out, &err, + str_lvm, "lvs", +...
2010 Mar 26
1
[PATCH node] Use vg uuid when detecting whether vg spans multiple disks
...ipts/ovirt-config-storage index 8d59a6b..9d8c482 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -563,9 +563,9 @@ wipe_lvm_on_disk() if [[ "$dev" =~ "/dev/sd" ]]; then part_delim="" fi - for vg in $(pvs -o vg_name --noheadings $dev $dev${dev_delim}[0-9]* 2>/dev/null|sort -u); do - if pvs -o pv_name,vg_name --noheadings | \ - grep $vg | egrep -v -q "${dev}${part_delim}[0-9]+|${dev}" 2>/dev/null; then + for vg in $(pvs -o vg_uuid --noheadings $dev $dev${dev_delim}[0-9]* 2>/dev/null|s...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
....\n" + printf "\n" + return 1 + else + printf "Required Space : $drive_need_size MB\n\n" + fi + done + # check if an existing HostVG exists on a device other than the target devices="$(pvs -o pv_name,vg_name --noheadings | \ - grep "HostVG"|grep -v $DRIVE|awk '{ print $1 }')" + grep "HostVG"|grep -v $HOSTVGDRIVE|awk '{ print $1 }')" rc=0 if [ -n "$devices" ]; then printf "\n" @@ -193,8 +206,14 @@ get_dev_name() do_co...
2011 May 25
1
Hook script to preserve one partition untouched during install
...: Can not scan $DISK" return 1 fi ARRAY_PV=${RETURN[*]} if [ ${#ARRAY_PV[*]} -eq 0 ]; then log "ERROR: Partitions not found, verify your disk." return 1 fi for PV in ${ARRAY_PV[*]}; do # Looking if partition has a PV pvs --noheadings "$PV" if [ $? -eq 0 ]; then log "Physical Volume found in $PV" # Looking if PV has Volume Group OUTPUT=( $(pvs --noheadings -o vg_name "$PV") ) if [ ${#OUTPUT[*]} -gt 0 ]; then log "P...
2016 Jan 28
0
[PATCH v2] lvm: support lvm2 older than 2.02.107
...NUP_FREE char *err = NULL; int r; + int has_S = test_lvs_has_S_opt (); - r = command (&out, &err, - str_lvm, "lvs", - "-o", "vg_name,lv_name", - "-S", "lv_role=public", - "--noheadings", - "--separator", "/", NULL); - if (r == -1) { - reply_with_error ("%s", err); - free (out); + if (has_S < 0) return NULL; - } - return convert_lvm_output (out, "/dev/"); + if (has_S > 0) { + r = command (&ou...
2017 Jul 14
0
[PATCH 14/27] daemon: Reimplement ‘lvs’ API in OCaml.
...NULL; - - if (has_S > 0) { - r = command (&out, &err, - str_lvm, "lvs", - "-o", "vg_name,lv_name", - "-S", "lv_role=public && lv_skip_activation!=yes", - "--noheadings", - "--separator", "/", NULL); - if (r == -1) { - reply_with_error ("%s", err); - free (out); - return NULL; - } - - return convert_lvm_output (out, "/dev/"); - } else { - r = command (&out, &err, -...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l) else @@ -204,7 +204,7 @@ check_partition_sizes() # check if an existing HostVG exists on a device other than the target if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then devices="$(pvs -o pv_name,vg_name --noheadings | \ - grep "HostVG"|grep -v $HOSTVGDRIVE|awk '{ print $1 }')" + grep "HostVG"|grep -v "$HOSTVGDRIVE"|awk '{ print $1 }')" rc=0 if [ -n "$devices" ]; then printf "\n" @@ -...
2015 Nov 10
0
Re: [PATCH] daemon: lvm: Only return public LVs from guestfs_lvs API (RHBZ#1278878).
...on/lvm.c > index d989986..6e201e3 100644 > --- a/daemon/lvm.c > +++ b/daemon/lvm.c > @@ -148,7 +148,9 @@ do_lvs (void) > > r = command (&out, &err, > str_lvm, "lvs", > - "-o", "vg_name,lv_name", "--noheadings", > + "-o", "vg_name,lv_name", > + "-S", "lv_role=public", > + "--noheadings", > "--separator", "/", NULL); > if (r == -1) { > reply_with_er...
2016 Feb 12
1
[PATCH] daemon: lvm: Ignore LVs with the activationskip flag set (RHBZ#1306666).
...out, &err, str_lvm, "lvs", "-o", "vg_name,lv_name", - "-S", "lv_role=public", + "-S", "lv_role=public && lv_active=active", "--noheadings", "--separator", "/", NULL); if (r == -1) { -- 2.5.0
2011 Sep 09
0
[PATCH node] only wipe HostVG if storage_init is not passed in dracut
...ed, 10 insertions(+), 5 deletions(-) diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh index c96d6fe..e9674d8 100755 --- a/dracut/ovirt-cleanup.sh +++ b/dracut/ovirt-cleanup.sh @@ -48,11 +48,16 @@ fi # Check for HostVG lvm pvscan >/dev/null 2>&1 -for hostvg in $(lvm pvs --noheadings -o vg_name,pv_name 2>/dev/null | awk '/^ HostVG/{print $2}'); do - storage_init="$hostvg,$storage_init" - info "Found HostVG on $hostvg" -done - +if [ -z "$storage_init" ]; then + for hostvg in $(lvm pvs --noheadings -o vg_name,pv_name 2>/dev/nu...
2013 Dec 10
0
dsync verbosity, summary of transfer
Hi! I am playing with dsync and trying to fix an issue I have mentioned in another thread (subject: "Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam") and feel that dsync could use some additional informational output. It would be particularly helpful while experimenting with a migration if it could output a transfer summary and / or log separately. A summary
2016 Jul 26
1
[PATCH] daemon: lvm: change the separator character to '\r'
...@ -633,7 +633,7 @@ cleanup_free_mountable (mountable_t *mountable) pr " r = command (&out, &err,\n"; pr " \"lvm\", \"%ss\",\n" typ; pr " \"-o\", lvm_%s_cols, \"--unbuffered\", \"--noheadings\",\n" typ; - pr " \"--nosuffix\", \"--separator\", \":\", \"--units\", \"b\", NULL);\n"; + pr " \"--nosuffix\", \"--separator\", \"\\r\", \"--units\", \&quo...
2012 Oct 30
1
Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
...#39;', stderr: ' Volume group "VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2" not found ' [4168] 2012-10-29 23:25:50.444184 LVMCache: will initialize now [4168] 2012-10-29 23:25:50.444388 LVMCache: refreshing [4168] 2012-10-29 23:25:50.444548 ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2'] [4168] 2012-10-29 23:25:50.507808 FAILED: (rc 5) stdout: '', stderr: ' Volume group "VG_XenStorage-4bc38254-5e28-4cb6-4566-067fd46ab0b2"...
2010 Feb 24
5
New Storage related patches
This set of patches introduces support for multipath devices for storage. Comments and suggestions are appreciated. Mike
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...ev="${dev}" + fi + done local devices_var=$2 + local vgname= + { [ -n $3 ] && vgname="$3"; } || vgname="HostVG" + if [ -z "$install_dev" ]; then devices="$(pvs --separator="${TAB}" -o pv_name,vg_name --noheadings | \ - grep "HostVG" | cut -f1)" + grep "${vgname}" | cut -f1)" else devices="$(pvs --separator="${TAB}" -o pv_name,vg_name --noheadings | \ - grep -v "${install_dev}" | grep "HostVG" | cu...