[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copy entire /usr



2008/9/12 Raven <raven@vp44.net>:
> On Fri, 2008-09-12 at 09:49 +0200, François Cerbelle wrote:
>> Le Ven 12 septembre 2008 09:36, Paulo Silva a écrit :
>> [...]
>> > # rsync -av /usr/ /newusr/
>> > # umount /usr
>>
>> I think he will not be able to do it because of processes running from
>> /usr. And I think he can not stop all processes by going to runlevel 1 as
>> he seems to only have a network access to its server
>
> Indeed :(
> I am currently trying the solution Francois proposed. I am at 30% of the
> sync and still no sdc errors..I keep my fingers crossed.

You could try using lsof to find what processes are using files from /usr (lsof
/usr) and, if possible, stop those processes/services. If you can stop them all
you should be able to umount /usr.
--
Paulo Silva <paulojjs@gmail.com>

Reply to: