What is your default mount options for / in fstab?
you're mounting /usr with defaults, maybe it needs something else?

your copy command used -a which should include -p, but maybe for some
reason it didn't?
you could try the copy with just "-pr".

bb

On Thu, Jul 16, 2009 at 1:04 PM, Tim Fournet<[email protected]> wrote:
> What about permissions on /usr itself?
> ls -lah /
>
>
> On Thu, Jul 16, 2009 at 12:48 PM, Jarred White <[email protected]> wrote:
>>
>> Sure, I have to type them by hand though, so I'm not including as many
>> as I might otherwise include. This should give you an idea though.
>>
>> One of the first errors that happens:
>>
>> Error: cannot mount filesystem: Protocol error
>>
>> Starting system logger: rsyslog runtime error(-2066): could not load
>> module '/usr/lib/syslog/lmnet.so', dlopen: /usr/lib/rsyslog/lmnet.so:
>> cannot open shared object file: Permission denied
>>
>> Other errors similarly say "permission denied", so I'm guessing it's a
>> permissions issue. I went to /usr/lib/rsyslog from my /usrbak dir and
>> from within sdb1 and the permissions and ownership appear identical.
>>
>> Sorry I can't paste more. Can't get copy/paste to work from my vmware
>> guest.
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On
>> Behalf Of Dustin Puryear
>> Sent: Thursday, July 16, 2009 12:27 PM
>> To: [email protected]
>> Subject: Re: [brlug-general] Moving the /usr files
>>
>> Can you show us the "slew of errors"?
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On
>> Behalf Of Jarred White
>> Sent: Thursday, July 16, 2009 10:53 AM
>> To: [email protected]
>> Subject: [brlug-general] Moving the /usr files
>>
>> Morning all. Because I didn't allocate enough space to begin with for my
>> Fedora VM, I needed to increase the size somehow. I figured the best way
>> to do this would be to add an additional SCSI HDD via VMWare.
>>
>> So I added a 20G virtual drive, partitioned and made an ext3 filesystem
>> on it. It's /dev/sdb1. To make some space, I wanted to move /usr onto
>> the new sdb1 partition. So, I did the following:
>>
>> cp -aR /usr/* /mnt/tmp (where I mounted sdb1)
>>
>> Then I edited my fstab to include the following line:
>>
>> /dev/sdb1       /usr    ext3    defaults        1 2
>>
>> I also backed up my existing /usr dir to /usrbak, although ideally I
>> guess I shouldn't need it. When I reboot, I get a whole slew of errors.
>> So I boot into single user mode where I'm able to take a look at
>> everything. df appears to show /usr mounted properly:
>>
>> /dev/sdb1       20G     2.6G    17G     14%     /usr
>>
>> Additionally, I can use binaries from within /usr without any problem.
>> If I try to use 'joe', it works.
>>
>> Just curious if I have forgotten some big piece that I need to make this
>> happen, or if I improperly copied the files over (without preserving
>> ownership/symlinks, but I think I did), or if my line in fstab is jacked
>> up. Maybe it's also an issue with vmware's logical HDD?
>>
>> The good news is I snapshotted the image before I started getting all
>> crazy. So I can always roll back. Any thoughts?
>>
>> Jarred White
>> Senior Consultant
>> Postlethwaite & Netterville, APAC
>> 8550 United Plaza Blvd. Ste 1001
>> Baton Rouge, LA 70809
>> Direct: 225-408-4456
>>
>>
>>
>> ------------------------------------------------------------------------
>> -----------------------------
>> Pursuant to IRS Circular 230 and IRS regulations we inform you that any
>> federal tax advice
>> contained in this communication is not intended or written to be used,
>> and cannot be used,
>> for the purpose of avoiding penalties imposed under the Internal Revenue
>> Code.
>>
>> ------------------------------------------------------------------------
>> ------------------------------------------
>> Postlethwaite & Netterville Implements New Email Encryption Software to
>> Further Protect Confidential Data
>>
>> Confidentiality is a hallmark of the accounting profession and it is of
>> the utmost importance to our client
>> relationships.  At P&,, we are committed to keeping your data
>> confidential which is why we are implementing
>> new email encryption software.  This software inspects all outbound
>> emails from our firm.  Emails that
>> contain attachments will require you to enter a password to download the
>> file.  This ensures that your
>> confidential data cannot be read by anyone other than the intended
>> recipient.
>>
>> Emails with attachments will include a link to a secure web server.
>> Click on the link to download the attachment.
>> The first time you receive a secure email from the firm you will be
>> required to setup a password.  This will
>> be your password to access future attachments.  For our clients and
>> others, there will be a small step to
>> download the encrypted files; however, we believe the added
>> confidentiality benefits far outweigh the few
>> seconds that are required to access the attachment.
>>
>> If you have questions regarding this new process or if you forget your
>> password, please contact Jessica Aymond,
>> P&  Network Administrator, at 225.922.4600.
>> ========================================================================
>> =============================
>>
>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>>
>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>>
>>
>>
>> -----------------------------------------------------------------------------------------------------
>> Pursuant to IRS Circular 230 and IRS regulations we inform you that any
>> federal tax advice
>> contained in this communication is not intended or written to be used, and
>> cannot be used,
>> for the purpose of avoiding penalties imposed under the Internal Revenue
>> Code.
>>
>>
>> ------------------------------------------------------------------------------------------------------------------
>> Postlethwaite & Netterville Implements New Email Encryption Software to
>> Further Protect Confidential Data
>>
>> Confidentiality is a hallmark of the accounting profession and it is of
>> the utmost importance to our client
>> relationships.  At P&,, we are committed to keeping your data confidential
>> which is why we are implementing
>> new email encryption software.  This software inspects all outbound emails
>> from our firm.  Emails that
>> contain attachments will require you to enter a password to download the
>> file.  This ensures that your
>> confidential data cannot be read by anyone other than the intended
>> recipient.
>>
>> Emails with attachments will include a link to a secure web server.  Click
>> on the link to download the attachment.
>> The first time you receive a secure email from the firm you will be
>> required to setup a password.  This will
>> be your password to access future attachments.  For our clients and
>> others, there will be a small step to
>> download the encrypted files; however, we believe the added
>> confidentiality benefits far outweigh the few
>> seconds that are required to access the attachment.
>>
>> If you have questions regarding this new process or if you forget your
>> password, please contact Jessica Aymond,
>> P&  Network Administrator, at 225.922.4600.
>>
>> =====================================================================================================
>>
>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>
>



-- 
Have Mercy & Say Yeah

_______________________________________________
General mailing list
[email protected]
http://mail.brlug.net/mailman/listinfo/general_brlug.net

Reply via email to