Search results

  1. M

    Pvcreate /dev/SD? Or by uuid

    Recommended way to pvcreate please and if you can give me the URL to the documentation? pvcreate /dev/sd? Or pvcreate -u once blockid or other commands give the uuid? Thank you.
  2. M

    Oracle Linux lvm and device id

    Hi, In hyper v today, I created a 4TB vdisk as 2nd disk / powered up OL7.9VM, saw it as /dev/sdb in lsblk / powered down vm / deleted the 4TB vdisk and saved settings. I then recreated it in hyperv settings as the 2nd disk again. Powered up VM Now this 4TB disk is /dev/sda and the OS disk is...
  3. M

    yum check-updates | grep java doesn't show full line

    Hi, Someone please help me figure out why grep is not showing 3 out of the four full lines that have the word headless in them, that is definitely in the yum check-updates output. Is it to do with the length of the string that the word headless is included in? Here is the output copied and...
  4. M

    strace a Sleep to find out what count it is at.

    Hi, If I have a command, say sleep 1800, and I want to strace it to see what count it is at out of that 1800, how would I do it? Thanks very much.
  5. M

    Why does grep not return the from line?

    I have this but grep is not returning the from line. It is something to do with the relay= part of the line. If I modify it to say relay=exampleXXX111.examplf.ex.examplf.com, it outputs the line just fine. There are other ways to get this info, but I would like an explanation for this specific...
  6. M

    Help ssh sudo - CentOS6

    Hi, Please help, sudo thinks the password file is v-users. ssh -t -l myname server2 "cd /etc/mail; sudo -S /usr/sbin/hashmap v-users < v-users < ~/mypw.txt" Ssh keys already set up for mynane. Cat'ing the pw.txt and then pipe the sudo doesn't work either I have tried all sorts of quoting but I...
Top