convert ext3 to ext4 [merged thread]

An update of DSM 3.0 operating system, including enhanced iPhone and Android phone support, Windows ACL integration, comprehensive iSCSI support, extended volume size capability, Surveillance Station, and a new feature of Time Backup application.

Re: DS 207+ on RAID 1, convert to EXT4

Postby Loek Rots » Mon Sep 27, 2010 9:44 am

great.. that was the answer I'm looking for..

Mostly use it to read (squeezebox system), so I'll stick to the raid 1 solution.

thnx a bunch
Loek Rots
Novice
Novice
 
Posts: 42
Joined: Fri Feb 06, 2009 7:06 pm

Re: DS 207+ on RAID 1, convert to EXT4

Postby itari » Mon Sep 27, 2010 10:21 pm

For performance theorems on RAID, you have to differ between 'read'-performance and 'write'-performance and of cause the number of disks.

2 Disks
Read-Performance is twice: RAID-0 & RAID-1, Read-Performance is normal: JBOD
Write-Performance is twice: RAID-0, Write-Performance is normal: RAID-1 & JBOD

For other combinations look at: http://www.acnc.com/04_01_00.html

Itari
Last edited by itari on Tue Sep 28, 2010 7:12 am, edited 2 times in total.
User avatar
itari
Sharp
Sharp
 
Posts: 181
Joined: Mon Jun 16, 2008 9:17 am
Location: Germany

Re: DS 207+ on RAID 1, convert to EXT4

Postby adgud » Mon Sep 27, 2010 11:06 pm

Still, I'd say you won't feel the difference between non-RAID/RAID1/RAID0 on a network storage. Since RAID1 gives you protection only from disk failure, I advise you to create one volume on each HDD and perform backup every 2 days from one volume to the second one (you can automate this process in DSM). This solution protects you when you accidentally delete a file or there is a power loss when writing to a disk, whereas RAID does not.

Also, Synology says you shouldn't convert ext3 to 4, instead copy everything somewhere, delete volume(s) and recreate them.
http://forum.synology.com/enu/viewtopic.php?f=10&t=38457 - Syno Download Redirector - extension for Opera browser
adgud
Novice
Novice
 
Posts: 48
Joined: Thu Sep 09, 2010 9:24 pm

ext3 to ext4 upgrade

Postby WillyB » Sun Oct 03, 2010 2:05 am

First off, I LOVE DSM 3.0. Fantastic job, team.

I have upgraded to the latest DSM version on my 410. I know on linux you can do an in-place-upgrade from ext3 to ext4 by adding the correct volume options as long as your kernel supports it. Can this be done safely for the 410? I'd like to avoid the pain of having to copy the data off, create a new volume, and copy it all back. I realize the benefits are moderate, but I'd still like to have better free space utilization and journal checksumming.
WillyB
I'm New!
I'm New!
 
Posts: 3
Joined: Sun Oct 03, 2010 1:54 am

Re: convert ext3 to ext4 [merged thread]

Postby e_l_p_i_s » Tue Oct 19, 2010 11:49 pm

Just in case others find this useful. I didnt trust using the usual method in updating ext3 to ext4 using tune2fs.

I bought a ds210j with 2 hard drives (WD Caviar Greens which is another story). I installed DSM 2.3 and formatted the drives as per instructions. Played around with it and then a found DSM 3 would be released soon so didnt copy much over until that was available.

After installing DSM 3 and backing up my data to a USB device (which worked fine for my purposes) I tried to delete the volume in the GUI but it would not do anything - it would just refresh the page and nothing would change. I then tried resetting DSM to its defaults (including format) but still didnt do anything. In the end I logged into the ds210j and ran:

Code: Select all
umount /volume1
cat /proc/mdstat
mdadm --misc --zero-superblock /dev/xxx


Code: Select all
/dev/xxx
will be the partitions being used for the raid device for /volume1 listed in
Code: Select all
/proc/mdstat


After a reboot the GUI didnt list my volume anymore and I could create a new volume. Looking at the volume after creation it is a LVM device and formatted with ext4. Not sure whether I need to add noatime to the mount options but will leave it for now.

This may help a few others - not sure whether the other raid partitions (/dev/md0 and /dev/md1) need updating (used for system purposes) but it all seems to work now.

Tom
e_l_p_i_s
I'm New!
I'm New!
 
Posts: 4
Joined: Tue Oct 19, 2010 11:22 pm

how to change filesystem

Postby Romeo » Fri Oct 22, 2010 8:04 am

running my ds210j with two 1,5tb hdd and got two old usb hdd connected also to it. one of the usb hdd was empty so i could easily format it to ext4 from ext3. now the problem i want to solve is how to can I update the internal hdd running ext3 without loosing all the data I got on them? :oops:
Diskstation #1: DS-210J
Firmware Version: Latest & Greatest
Internal Drive: 2x1,5TB Hitachi
External: 2x Lacie Porsche 250gb
Diskstation #2: DS210J
Internal Drive: 2x1,5TB Seagate
Router: D-Link DIR-655
Internet: 100Mbit
User avatar
Romeo
Experienced
Experienced
 
Posts: 100
Joined: Tue Dec 12, 2006 8:01 pm
Location: Sweden

Re: how to change filesystem

Postby davelx » Fri Oct 22, 2010 2:12 pm

AFAIK, you can't, ulness you want to risk one of the free conversion tools not supported by Syno. You need to unload the data, delete the volume, create a new one and reload the data.

There's an extensive discussion about this here: (hint - search the forum for a topic with EXT4 in the title :) )

http://forum.synology.com/enu/viewtopic.php?f=161&t=27189
davelx
Trainee
Trainee
 
Posts: 18
Joined: Thu Aug 26, 2010 3:03 pm
Location: London

Update to DSM 3.0 with upgrading EXT3 to EXT4

Postby dieter.wunderer » Wed Oct 27, 2010 3:51 pm

Since I looked for a long time and couldn't find a "how to guide" to upgrade to DSM 3.0 and changing the file type from EXT3 to EXT4, I made a Wiki page for this:
http://forum.synology.com/wiki/index.ph ... _with_EXT4

But be warned: This does not include converting EXT3 to EXT4. So, you have to backup all your data and recreating the volume. This is the only reliable way so far... sorry...

Please update/correct the page as appropriate, since I only could include my personal experience.
dieter.wunderer
I'm New!
I'm New!
 
Posts: 5
Joined: Wed Oct 27, 2010 3:32 pm

Re: convert ext3 to ext4 [merged thread]

Postby grzmrc » Sun Oct 31, 2010 5:56 pm

Hi,
I have to upgrade filesystem to ext4.
I'm concerned to lost data stored on my raid1 device, so I want to write a guideline before starting the mission.
step1 shutdown the NAS
step2 open the case and phisically unmount one of the two drive.
step3 power on the nas
step4 erase everything and reinstall the SO on the new ext4 filesystem
step5 shutdown
step6 phisically connect the other HD
step7 power on the nas
step8 copy all data to the new ext4 drive
step9 format the the old drive and rebuild the raid1

is it possible?
grzmrc
Rookie
Rookie
 
Posts: 31
Joined: Sun Oct 31, 2010 5:21 pm

Re: convert ext3 to ext4 [merged thread]

Postby grzmrc » Tue Nov 02, 2010 10:51 am

well,
I'm try to mount one disk on ubuntu, but I see "linux raid autodetect". What can I do to read my files?
grzmrc
Rookie
Rookie
 
Posts: 31
Joined: Sun Oct 31, 2010 5:21 pm

Re: convert ext3 to ext4 [merged thread]

Postby maxxfi » Tue Nov 02, 2010 1:03 pm

Boot your computer with a Knoppix LiveCD.
It should be able to automagically mount your Synology partition
DS-411 (DSM 4.2-3202) w/ 2x WD10EFRX + 1x HD154UI
DS-106j (DSM 3.0-1357), PATA-to-SATA adapter, 2.5" HM250HI
User avatar
maxxfi
Architect
Architect
 
Posts: 4317
Joined: Sun Dec 27, 2009 12:13 pm
Location: Espoo, Finland

Previous

Return to DiskStation Manager 3.0 - 1334/1337

Who is online

Users browsing this forum: No registered users and 0 guests