search for: findfs

Displaying 20 results from an estimated 171 matches for "findfs".

2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
...ninstall @@ -37,27 +37,37 @@ if ask_yes_or_no "Do you wish to continue and uninstall this node ([Y]es/[N]o)?" rm -f /var/lib/multipath/bindings unmount_logging unmount_config /etc/default/ovirt + #get partition info + root2="" + if findfs LABEL=RootBackup 2>&1 >/dev/null; then + root2=RootBackup + elif findfs LABEL=RootUpdate 2>&1 >/dev/null; then + root2=RootUpdate + elif findfs LABEL=RootNew 2>&1 >/dev/null; then + root2=RootNew + fi + if !...
2010 Mar 24
1
[PATCH node] Fix blkid.conf to scan devices for findfs calls.
findfs in F12 finds partitions on /dev/sdX devices instead of /dev/mapper/<wwid> devices. This sets an option that forces findfs to scan instead. Signed-off-by: Mike Burns <mburns at redhat.com> --- recipe/common-post.ks | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --...
2010 Mar 23
1
[PATCH node][RFC] Remove dependencies on /dev/disk/by-label entries
Use findfs LABEL=ABC and mount LABEL=ABC instead. Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/ovirt-config-boot | 29 ++++++++++++++++------------- scripts/ovirt-config-storage | 2 -- scripts/ovirt-functions | 18 ++++++++++-------- 3 files changed, 26 insertions(+), 2...
2010 Jul 28
0
[PATCH] New APIs: findfs-label and findfs-uuid
These APIs are needed for ease of inspection of /etc/fstab from C. (Actually the way we are doing it currently in Perl is incredibly convoluted .. we should have just used findfs). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora...
2018 Jul 27
1
[PATCH] daemon: inspect: ignore fstab devs that cannot be resolved (RHBZ#1608131)
If the /etc/fstab of a guest contains devices specified with UUID or LABEL, then the new OCaml inspection code will report the findfs failure as general failure of the inspection. OTOH, the old C inspection code simply ignored all the devices that cannot be resolved. Hence, restore the old behaviour by ignoring unresolvable devices. --- daemon/inspect_fs_unix_fstab.ml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 dele...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...ovirt-config-boot @@ -29,6 +29,12 @@ ovirt_boot_setup() { local disk2 local partN=-1 log "installing the image." + + if [ "$OVIRT_ROOT_INSTALL" == "n" ]; then + log "done." + return + fi + local found_boot=false if findfs LABEL=Boot 2>&1 >/dev/null ; then found_boot=true @@ -212,7 +218,12 @@ if [ -z "$doreboot" ]; then fi start_log -ovirt_boot_setup "$live" "$bootparams" +if [ "$OVIRT_ROOT_INSTALL" =="n" ]; then + log "done." +...
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
...ninstall @@ -37,27 +37,37 @@ if ask_yes_or_no "Do you wish to continue and uninstall this node ([Y]es/[N]o)?" rm -f /var/lib/multipath/bindings unmount_logging unmount_config /etc/default/ovirt + #get partition info + root2="" + if findfs LABEL=RootBackup 2>&1 >/dev/null; then + root2=RootBackup + elif findfs LABEL=RootUpdate 2>&1 >/dev/null; then + root2=RootUpdate + elif findfs LABEL=RootNew 2>&1 >/dev/null; then + root2=RootNew + fi + if !...
2010 Oct 27
0
[PATCH node] add uninstall module
...mespace + os.system("service multipathd stop") + os.system("rm -f /var/lib/multipath/bindings") + unmount_logging() + unmount_config("/etc/default/ovirt") + #get partition info + root2="" + rc = os.system("findfs LABEL=RootBackup 2>&1 >/dev/null") + if rc == 0: + root2 = "RootBackup" + rc = os.system("findfs LABEL=RootUpdate 2>&1 >/dev/null") + if rc == 0: + root2 = "RootUpdate" + rc = os.system("fi...
2010 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
...onfig-uninstall @@ -37,27 +37,38 @@ if ask_yes_or_no "Do you wish to continue and uninstall this node ([Y]es/[N]o)?" rm -f /var/lib/multipath/bindings unmount_logging unmount_config /etc/default/ovirt + #get partition info + local root2 + if findfs LABEL=RootBackup 2>&1 >/dev/null; then + root2=RootBackup + elif findfs LABEL=RootUpdate 2>&1 >/dev/null; then + root2=RootUpdate + elif findfs LABEL=RootNew 2>&1 >/dev/null; then + root2=RootNew + fi + local...
2018 Apr 10
0
[PATCH v2 3/5] daemon: move Lvm.lv_canonical to new Lvm_utils module
This way the Lvm module contains only the OCaml implementations of LVM daemon APIs. This is simple refactoring, with no functional changes. --- daemon/Makefile.am | 2 ++ daemon/findfs.ml | 2 +- daemon/inspect_fs_unix_fstab.ml | 2 +- daemon/lvm.ml | 27 ----------------------- daemon/lvm.mli | 10 --------- daemon/lvm_utils.ml | 48 +++++++++++++++++++++++++++++++++++++++++ daemon/lvm_utils.mli | 27 ++++...
2010 Oct 26
0
[PATCH node] add install.py
...+from ovirtfunctions import * +import shutil +import sys + +def ovirt_boot_setup(): + + log("installing the image.") + + if OVIRT_VARS["OVIRT_ROOT_INSTALL"] == "n": + log("done.") + return + + found_boot=False + rc = os.system("findfs LABEL=Boot 2>&1 >/dev/null") + if rc == 0: + found_boot = True + grub_dev_label = "Boot" + rc = os.system("findfs LABEL=Root 2>&1 >/dev/null") + if rc == 0: + found_boot = False + grub_dev_label = "Root" +...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...45 insertions(+), 17 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 9593905..15066f7 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -40,7 +40,7 @@ ovirt_boot_setup() { found_boot=true grub_dev_label=Boot elif findfs LABEL=Root 2>&1 >/dev/null ; then - found_boot=true + found_boot=false grub_dev_label=Root fi if $found_boot; then @@ -62,8 +62,8 @@ ovirt_boot_setup() { grub_dev_label="RootBackup" fi - # check that /boot mounted ok and find p...
2013 Jan 03
33
Option LABEL
...mkfs.btrfs -d raid0 -m raid1 /dev/sdb /dev/sdc /dev/sdd ... One call for some devices. Wenn I add the option "-L mylabel" then each device gets the same label, and therefore some other programs can''t find the (one) device with the defined label. Especially blkid findfs LABEL=mylabel don''t work. file -s /dev/sdb (etc.) shows the label (and the problem). Other tries: mkfs.btrfs -L mylabel /dev/sdb creates a new btrfs filesystem and overwrites prior tries. What works: btrfs filesystem label /dev/sdb mylabel Viele Gruesse! Hel...
2018 Apr 10
9
[PATCH v2 0/5] daemon: generate almall the API OCaml interfaces
...| 17 ++++++++ daemon/Makefile.am | 4 ++ daemon/blkid.mli | 19 --------- daemon/btrfs.mli | 26 ----------- daemon/devsparts.mli | 25 ----------- daemon/filearch.mli | 19 --------- daemon/findfs.ml | 2 +- daemon/findfs.mli | 20 --------- daemon/inspect.ml | 2 +- daemon/inspect.mli | 41 ------------------ daemon/inspect_fs.ml | 2 +- daemon/inspect_fs_unix_fstab.ml | 2 +- daemon/inspect...
2020 Apr 03
2
Mounting CIFS shares on C8
...workgroup is supported I have changed it to domain, but that didn't change a thing [root at plexvm ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Apr 3 14:02:23 2020 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # /dev/mapper/cl_plexvm-root / xfs defaults 0 0 UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot...
2020 Apr 03
2
Mounting CIFS shares on C8
...setup before trying the abbreviations, but anyway: [root at plexvm ~]# nano /etc/fstab [root at plexvm ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Apr 3 14:02:23 2020 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # /dev/mapper/cl_plexvm-root / xfs defaults 0 0 UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
..., 111 insertions(+), 111 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index d545878..347fc18 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -88,7 +88,7 @@ ovirt_boot_setup() { rc=0 else candidate_dev=$(findfs LABEL=$candidate 2>/dev/null) - e2label $candidate_dev RootNew + e2label "$candidate_dev" RootNew rc=$? fi if [ $rc -ne 0 ]; then @@ -97,7 +97,7 @@ ovirt_boot_setup() { return $rc fi - mount $candidate_dev...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...45 insertions(+), 17 deletions(-) diff --git a/scripts/ovirt-config-boot b/scripts/ovirt-config-boot index 72bcd9b..fc6649f 100755 --- a/scripts/ovirt-config-boot +++ b/scripts/ovirt-config-boot @@ -34,7 +34,7 @@ ovirt_boot_setup() { found_boot=true grub_dev_label=Boot elif findfs LABEL=Root 2>&1 >/dev/null ; then - found_boot=true + found_boot=false grub_dev_label=Root fi if $found_boot; then @@ -56,8 +56,8 @@ ovirt_boot_setup() { grub_dev_label="RootBackup" fi - # check that /boot mounted ok and find p...
2020 Apr 03
4
Mounting CIFS shares on C8
...tos > I have commented out the 2 mounts with non-ascii... that didn't help... [root at plexvm ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Apr 3 14:02:23 2020 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # /dev/mapper/cl_plexvm-root / xfs defaults 0 0 UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot...
2017 Nov 21
2
[PATCH REPOST 1/2] common/mlstdutils: Add return statement.
No change, just reposting without the "for discussion" tag. I think we should allow this as it seems like a nice coding style for a limited subset of imperative-style code. Rich.