Re: OT: Linux df question
From: David Fitzjarrell <oratune_at_yahoo.com>
Date: Thu, 10 Jul 2014 13:50:37 -0700
Message-ID: <1405025437.33983.YahooMailNeo_at_web124705.mail.ne1.yahoo.com>
I really believe Seth hit this nail on the head; it's not only file permissions but ACL privileges as well, and those may be different for /boot/efi than they are for /boot. David Fitzjarrell Principal author, "Oracle Exadata Survival Guide" On Thursday, July 10, 2014 12:58 PM, Seth Miller <sethmiller.sm_at_gmail.com> wrote: As root: getfacl /boot getfacl /boot/efi As oracle: strace df -h Seth On Thu, Jul 10, 2014 at 1:24 PM, Sweetser, Joe <JSweetser_at_icat.com> wrote: $ ls -ld /dev/sda1 >brw-rw---- 1 root disk 8, 1 Jul 9 07:40 /dev/sda1 >$ ls -ld /dev/sda2 >brw-rw---- 1 root disk 8, 2 Jul 9 07:40 /dev/sda2 > >FWIW, 7:40 was the time of the reboot after the new 10gb card installation. Also, the previous output was sent only to show that the file protections were the same between /boot and /boot/efi. I guess it would make a bit more sense to me if I could not see /boot, either. > >Thanks, >-joe > >From:Seth Miller [mailto:sethmiller.sm_at_gmail.com] >Sent: Thursday, July 10, 2014 12:18 PM >To: Sweetser, Joe >Cc: oracle-l (oracle-l_at_freelists.org) >Subject: Re: OT: Linux df question > >Joe, > >Send output of these: > >ls -ld /dev/sda1 >ls -ld /dev/sda2 > >Seth > > >On Thu, Jul 10, 2014 at 12:17 PM, Sweetser, Joe <JSweetser_at_icat.com> wrote: >A bit of strangeness on a new server. > >$ cat /etc/redhat-release >Red Hat Enterprise Linux Server release 6.1 (Santiago) > >Systems team had the system up but could not get a 10gb ethernet card to work. However, the output of df -h was normal when logged in as the oracle user. > >They did something yesterday (new card at a minimum) and now the 10gb interface works but the df command throws an error (though it does complete). This doesn't appear to be causing any issues but it does bug me a bit. I can't find much online about the error other than the grub file down that tree is needed for booting. > >(oracle) >$ df -h >Filesystem Size Used Avail Use% Mounted on >/dev/sda7 73G 5.5G 64G 8% / >tmpfs 95G 88K 95G 1% /dev/shm >/dev/sda2 200M 24M 176M 12% /boot >df: `/boot/efi': Permission denied >/dev/sda6 97G 22G 71G 24% /opt >/dev/sda3 842G 4.7G 794G 1% /u01 >/dev/sda4 842G 58G 742G 8% /u02 >/dev/sda8 837G 7.7G 787G 1% /u03 >/dev/sdb1 2.8T 58G 2.6T 3% /u04 > >(root) ># df -h >Filesystem Size Used Avail Use% Mounted on >/dev/sda7 73G 5.5G 64G 8% / >tmpfs 95G 88K 95G 1% /dev/shm >/dev/sda2 200M 24M 176M 12% /boot >/dev/sda1 200M 256K 200M 1% /boot/efi >/dev/sda6 97G 22G 71G 24% /opt >/dev/sda3 842G 4.7G 794G 1% /u01 >/dev/sda4 842G 58G 742G 8% /u02 >/dev/sda8 837G 7.7G 787G 1% /u03 >/dev/sdb1 2.8T 58G 2.6T 3% /u04 > ># ls -ld /boot >drwx------ 4 root root 16384 Dec 31 1969 /boot > ># ls -ld /boot/efi >drwx------ 3 root root 16384 Dec 31 1969 /boot/efi > >Any/all ideas/comments welcome. > >Thanks, >-joe > > >Confidentiality Note: This message contains information that may be confidential and/or privileged. If you are not the intended recipient, you should not use, copy, disclose, distribute or take any action based on this message. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Although ICAT, Underwriters at Lloyd's, Syndicate 4242, scans e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses. Thank you. >-- >http://www.freelists.org/webpage/oracle-l > > >
Date: Thu, 10 Jul 2014 13:50:37 -0700
Message-ID: <1405025437.33983.YahooMailNeo_at_web124705.mail.ne1.yahoo.com>
I really believe Seth hit this nail on the head; it's not only file permissions but ACL privileges as well, and those may be different for /boot/efi than they are for /boot. David Fitzjarrell Principal author, "Oracle Exadata Survival Guide" On Thursday, July 10, 2014 12:58 PM, Seth Miller <sethmiller.sm_at_gmail.com> wrote: As root: getfacl /boot getfacl /boot/efi As oracle: strace df -h Seth On Thu, Jul 10, 2014 at 1:24 PM, Sweetser, Joe <JSweetser_at_icat.com> wrote: $ ls -ld /dev/sda1 >brw-rw---- 1 root disk 8, 1 Jul 9 07:40 /dev/sda1 >$ ls -ld /dev/sda2 >brw-rw---- 1 root disk 8, 2 Jul 9 07:40 /dev/sda2 > >FWIW, 7:40 was the time of the reboot after the new 10gb card installation. Also, the previous output was sent only to show that the file protections were the same between /boot and /boot/efi. I guess it would make a bit more sense to me if I could not see /boot, either. > >Thanks, >-joe > >From:Seth Miller [mailto:sethmiller.sm_at_gmail.com] >Sent: Thursday, July 10, 2014 12:18 PM >To: Sweetser, Joe >Cc: oracle-l (oracle-l_at_freelists.org) >Subject: Re: OT: Linux df question > >Joe, > >Send output of these: > >ls -ld /dev/sda1 >ls -ld /dev/sda2 > >Seth > > >On Thu, Jul 10, 2014 at 12:17 PM, Sweetser, Joe <JSweetser_at_icat.com> wrote: >A bit of strangeness on a new server. > >$ cat /etc/redhat-release >Red Hat Enterprise Linux Server release 6.1 (Santiago) > >Systems team had the system up but could not get a 10gb ethernet card to work. However, the output of df -h was normal when logged in as the oracle user. > >They did something yesterday (new card at a minimum) and now the 10gb interface works but the df command throws an error (though it does complete). This doesn't appear to be causing any issues but it does bug me a bit. I can't find much online about the error other than the grub file down that tree is needed for booting. > >(oracle) >$ df -h >Filesystem Size Used Avail Use% Mounted on >/dev/sda7 73G 5.5G 64G 8% / >tmpfs 95G 88K 95G 1% /dev/shm >/dev/sda2 200M 24M 176M 12% /boot >df: `/boot/efi': Permission denied >/dev/sda6 97G 22G 71G 24% /opt >/dev/sda3 842G 4.7G 794G 1% /u01 >/dev/sda4 842G 58G 742G 8% /u02 >/dev/sda8 837G 7.7G 787G 1% /u03 >/dev/sdb1 2.8T 58G 2.6T 3% /u04 > >(root) ># df -h >Filesystem Size Used Avail Use% Mounted on >/dev/sda7 73G 5.5G 64G 8% / >tmpfs 95G 88K 95G 1% /dev/shm >/dev/sda2 200M 24M 176M 12% /boot >/dev/sda1 200M 256K 200M 1% /boot/efi >/dev/sda6 97G 22G 71G 24% /opt >/dev/sda3 842G 4.7G 794G 1% /u01 >/dev/sda4 842G 58G 742G 8% /u02 >/dev/sda8 837G 7.7G 787G 1% /u03 >/dev/sdb1 2.8T 58G 2.6T 3% /u04 > ># ls -ld /boot >drwx------ 4 root root 16384 Dec 31 1969 /boot > ># ls -ld /boot/efi >drwx------ 3 root root 16384 Dec 31 1969 /boot/efi > >Any/all ideas/comments welcome. > >Thanks, >-joe > > >Confidentiality Note: This message contains information that may be confidential and/or privileged. If you are not the intended recipient, you should not use, copy, disclose, distribute or take any action based on this message. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Although ICAT, Underwriters at Lloyd's, Syndicate 4242, scans e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses. Thank you. >-- >http://www.freelists.org/webpage/oracle-l > > >
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Jul 10 2014 - 22:50:37 CEST