[HOWTO] TS-439 ext3->ext4 filesystem upgrade

Share your own product reviews, suggestions, and tips and tricks of using QNAP products. Show off your products.

Re: [HOWTO] TS-439 ext3->ext4 filesystem upgrade

Postby P3R » Sun May 22, 2011 6:48 am

jojje2 wrote:So I'll have to buy some TB-disks for backupping the NAS it seems, and...
Yes, take it as a sign.

You always need backup of all vital data, not only when trying to change file systems.
No, RAID has never ever been a replacement for backups. Without backups you will eventually lose data!
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TS-559 Pro II 3*HUA723030ALA640 RAID 5 | TS-459 Pro II 4*HDS722020ALA330 RAID 6 | TS-419P II 2*WD30EFRX RAID 1 | TS-119 ST3750640AS | TS-219P HDS722020ALA330 | All with APC Back-UPS ES BE700G-GR
P3R
Ask me anything
 
Posts: 5263
Joined: Sat Dec 29, 2007 1:39 am
Location: Sweden
NAS Model: TS-559 Pro II

Re: [HOWTO] TS-439 ext3->ext4 filesystem upgrade

Postby jojje2 » Tue Dec 20, 2011 12:04 am

Sigh.. why is it that there's always someone who assumes the storage device under discussion is the only instance holding the data and feel the need to point out the importance of backup ?
In my case I use the NAS as *the* backup. The managed data resides on other systems.

Perhaps it was my phrasing in this instance. I probably should have used the phrase "So I'll have to buy some TB-disks for temporarily moving the data over to during the disk replacement, in order to minimize downtime".

Anyway, as you seem very keen on my backup data well being, I now have "data center redundancy" in place for my "home stuff". 2 x TS 439 in two different geographical locations with nightly rsync between them, in case of a disaster, natural or otherwise. Has worked beautifully. Though I woe the day the master device breaks and I have to sync 5TB back over a measly 10MBit line :(
I'll probably have to do the synching on-site, at the backup site with a twisted CAT-cable to get 1Gbit speed, or do disk-by-disk cloning at SATA speed. Else restore will take forever (2 months).
jojje2
New here
 
Posts: 3
Joined: Sat May 14, 2011 4:57 am
NAS Model: TS-239 Pro

Re: [HOWTO] TS-439 ext3->ext4 filesystem upgrade

Postby P3R » Tue Dec 20, 2011 8:05 am

jojje2 wrote:Sigh.. why is it that there's always someone who assumes the storage device under discussion is the only instance holding the data and feel the need to point out the importance of backup ?
Maybe because that's the reality for a majority in this community? At least that's what I believe when I daily see users weeping here about how they "lost the data that they trusted to the NAS".

Since this a public forum and not a personal conversation, maybe even somebody else read my comment and was helped by it? Anyway, since you were obviously so disturbed by my comment I'm very sorry for it.
No, RAID has never ever been a replacement for backups. Without backups you will eventually lose data!
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TS-559 Pro II 3*HUA723030ALA640 RAID 5 | TS-459 Pro II 4*HDS722020ALA330 RAID 6 | TS-419P II 2*WD30EFRX RAID 1 | TS-119 ST3750640AS | TS-219P HDS722020ALA330 | All with APC Back-UPS ES BE700G-GR
P3R
Ask me anything
 
Posts: 5263
Joined: Sat Dec 29, 2007 1:39 am
Location: Sweden
NAS Model: TS-559 Pro II

Re: [HOWTO] TS-439 ext3->ext4 filesystem upgrade

Postby drdebian » Sat Feb 25, 2012 11:34 pm

Just wanted to say that the procedure has worked perfectly for me on my TS-509!

It might help others to note that a "/etc/init.d/services.sh stop" is sufficient to stop everything that might interfere with the conversion.

In addition, after the conversion (and installing e2fsprogs through ipkg) a "chattr -RV +e /share/MD0_DATA" will ensure that all files in fact are using extents and don't remain in ext3-compatibility-mode. :)

EDIT: It appears that converting a 4 year old ext3 filesystem to ext4 really doesn't yield the best results. For one thing, the fragmentation remained so high that performance was still really bad. In addition, the inode size remained at 128, where ext4 should actually have 256 for all the new features. All in all, I decided to back up the entire thing to an external harddisk and reformat to "real" ext4. Now the performance is great and I hope that the ext4 extents will keep it this way. :)
drdebian
Starting out
 
Posts: 24
Joined: Wed Dec 31, 2008 6:01 pm
NAS Model: TS-439U-SP/-RP

Previous

Return to Users' Corner

Who is online

Users browsing this forum: No registered users and 3 guests