[olug] Filesystems
Kevin
sharpestmarble at gmail.com
Tue Jul 21 16:48:07 UTC 2009
[root at kevin-sandbox ~]# cat ~/bin/update-filesystem.sh
#!/bin/bash
mv $1 /filename_of_your_choice
cp -a /filename_of_your_choice $1
[root at kevin-sandbox ~]# find / -exec ~/bin/update-filesystem.sh
On Tue, Jul 21, 2009 at 10:06, T. J. Brumfield<enderandrew at gmail.com> wrote:
> I know tarring the entire filesystem to a new location, and then
> extracting it back does work. Perhaps you can do this folder by folder
> from within the file system?
>
> -- T. J.
>
> On Tue, Jul 21, 2009 at 9:44 AM, Chad Homan<choman at gmail.com> wrote:
>> I believe a "mv" (which would maintain the original inode), then "cp" the
>> file back
>> to it's original name (new inode) should do the job. My issue I would like
>> to avoid
>> renaming the entire filesystem. Not to mention that I cannot remove the
>> original
>> file until after a reboot, in case the file is being used. However, if I
>> could obtain
>> a "status" of the FS, My plans for world dominance would nearly be complete.
>>
>>
>>
>> Chad, CISSP
>> Sent from Los Angeles, CA, United States
>> Ogden Nash <http://www.brainyquote.com/quotes/authors/o/ogden_nash.html> -
>> "The trouble with a kitten is that when it grows up, it's always a cat."
>>
>> On Tue, Jul 21, 2009 at 8:44 AM, DYNATRON tech <dynatron at gmail.com> wrote:
>>
>>> just archive the drive and use the archive afterward, rather than the
>>> original. that should do it. bonus: you have a backup point of the entire
>>> drive....that is...if you have an extra drive to mount up.
>>>
>>> i'm a reiser guy, myself.
>>>
>>> i've had many smooth rides with ext, though.....except a couple of times
>>> when i was resizing partitions. turned out weird.
>>>
>>> On Tue, Jul 21, 2009 at 8:30 AM, T. J. Brumfield <enderandrew at gmail.com
>>> >wrote:
>>>
>>> > The files aren't rewritten with extents and such I don't believe with
>>> > a simple touch.
>>> >
>>> > -- T. J.
>>> >
>>> > On Tue, Jul 21, 2009 at 8:21 AM, DYNATRON tech<dynatron at gmail.com>
>>> wrote:
>>> > > what if you just touch all the files?
>>> > >
>>> > > updates the header....might work.
>>> > >
>>> > > On Tue, Jul 21, 2009 at 12:47 AM, T. J. Brumfield <
>>> enderandrew at gmail.com
>>> > >wrote:
>>> > >
>>> > >> I don't know of any way, but if you want to migrate fully, you can
>>> > >> shrink an ext3 partition down, make a new ext4 partition, copy the
>>> > >> files so they are written properly on the ext4 partition, mount the
>>> > >> ext4 partition, wipe the ext3 partition, and then resize the ext4
>>> > >> partition.
>>> > >>
>>> > >> -- T. J. Brumfield
>>> > >>
>>> > >> On Tue, Jul 21, 2009 at 12:28 AM, Chad Homan<choman at gmail.com> wrote:
>>> > >> > I recently converted one of my systems from ext3 to ext4. According
>>> > to
>>> > >> the
>>> > >> > "guide", over time,
>>> > >> > the files left at ext3 will migrate to ext4 via updates. I would
>>> like
>>> > to
>>> > >> > know is this. Is there a
>>> > >> > way to "interrogate" my file system and figure out the ext3 vs ext4
>>> > >> status
>>> > >> > of the HDD.
>>> > >> >
>>> > >> >
>>> > >> > Chad, CISSP
>>> > >> >
>>> > >> > Joan Crawford<
>>> > >> http://www.brainyquote.com/quotes/authors/j/joan_crawford.html>
>>> > >> > - "I, Joan Crawford, I believe in the dollar. Everything I earn, I
>>> > >> > spend."
>>> > >> > _______________________________________________
>>> > >> > OLUG mailing list
>>> > >> > OLUG at olug.org
>>> > >> > https://lists.olug.org/mailman/listinfo/olug
>>> > >> _______________________________________________
>>> > >> OLUG mailing list
>>> > >> OLUG at olug.org
>>> > >> https://lists.olug.org/mailman/listinfo/olug
>>> > >>
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > dynatron digital services
>>> > > box 191 - 68037
>>> > > www.dynatron.org
>>> > > dynatron at gmail.com
>>> > > _______________________________________________
>>> > > OLUG mailing list
>>> > > OLUG at olug.org
>>> > > https://lists.olug.org/mailman/listinfo/olug
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > "I'm questioning my education
>>> > Rewind and what does it show?
>>> > Could be, the truth it becomes you
>>> > I'm a seed, wondering why it grows"
>>> > -- Pearl Jam, Education
>>> > _______________________________________________
>>> > OLUG mailing list
>>> > OLUG at olug.org
>>> > https://lists.olug.org/mailman/listinfo/olug
>>> >
>>>
>>>
>>>
>>> --
>>> dynatron digital services
>>> box 191 - 68037
>>> www.dynatron.org
>>> dynatron at gmail.com
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list