TS-412 Online Raid Level Migration missing?
-
- Starting out
- Posts: 20
- Joined: Sun Jun 21, 2015 6:35 pm
TS-412 Online Raid Level Migration missing?
Hi,
I have a TS-412 with 2 x 3TB Disks in Raid 1. Now I have added two more disks and I want to migrate to Raid 5.
According to the manual this is possible, but the option displayed in the manual is missing from the Web interface of my NAS.
Am I missing something? See attached images for details. The "Change"-Button only ejects the drive for replacement.
I have a TS-412 with 2 x 3TB Disks in Raid 1. Now I have added two more disks and I want to migrate to Raid 5.
According to the manual this is possible, but the option displayed in the manual is missing from the Web interface of my NAS.
Am I missing something? See attached images for details. The "Change"-Button only ejects the drive for replacement.
You do not have the required permissions to view the files attached to this post.
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: TS-412 Online Raid Level Migration missing?
This looks like you were following the steps for: Expanding Capacity (Online RAID Capacity Expansion) instead of the instructions for Online RAID Level Migration.ultrah wrote:Hi,
I have a TS-412 with 2 x 3TB Disks in Raid 1. Now I have added two more disks and I want to migrate to Raid 5.
According to the manual this is possible, but the option displayed in the manual is missing from the Web interface of my NAS.
Am I missing something? See attached images for details. The "Change"-Button only ejects the drive for replacement.
Wipe the partition tables on the new drives, and try again. Why is your RAID1 array using HDD2+HDD3? for it's RAID1 volume. If this isn't your "boot" Volume, then you should probably Backup/Start-from-scratch/Restore instead.
Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs
Please review: When you're asking a question, please include the following.
-
- Starting out
- Posts: 20
- Joined: Sun Jun 21, 2015 6:35 pm
Re: TS-412 Online Raid Level Migration missing?
That was fast
-How do I wipe the partition table using the web interface? I don't have physical access to the device.
-No particular reason. The drive in slot 1 failed and I told the guy who uses this NAS to replace the drive. He just put it in slot 3 for some reason. Is this an issue?
Also, why am I missing all the options displayed in this image: http://docs.qnap.com/nas/4.1/Home/en/3- ... menet1.jpg
-How do I wipe the partition table using the web interface? I don't have physical access to the device.
-No particular reason. The drive in slot 1 failed and I told the guy who uses this NAS to replace the drive. He just put it in slot 3 for some reason. Is this an issue?
Also, why am I missing all the options displayed in this image: http://docs.qnap.com/nas/4.1/Home/en/3- ... menet1.jpg
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: TS-412 Online Raid Level Migration missing?
ultrah wrote:That was fast
How to I wipe the partition table using the web interface? I don't have physical access to the device.
You can't. The NAS Admin WebUI does not provide this functionality.
You can do it via SSH, but I'd need a lot more information to ensure you don't wipe the "wrong" drives.
Please access the NAS via SSH, login as "admin" and run:
Code: Select all
#!/bin/sh
rm -f /tmp/nasreport
touch /tmp/nasreport
chmod +x /tmp/nasreport
cat <<EOF >>/tmp/nasreport
#!/bin/sh
#
# NAS Report by Patrick Wilson
# see: http://forum.qnap.com/viewtopic.php?f=185&t=82260#p366188
#
#
echo "[code]*********************"
echo "** QNAP NAS Report **"
echo "*********************"
echo " "
echo "NAS Model: \$(getsysinfo model)"
echo "Firmware: \$(getcfg system version) Build \$(getcfg system 'Build Number')"
echo "System Name: \$(/bin/hostname)"
echo "Workgroup: \$(getcfg system workgroup)"
echo "Base Directory: \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))"
echo "NAS IP address: \$(ifconfig \$(getcfg network 'Default GW Device') | grep addr: | awk '{ print \$2 }' | cut -d: -f2)"
echo " "
echo "Default Gateway Device: \$(getcfg network 'Default GW Device')"
echo " "
ifconfig \$(getcfg network 'Default GW Device') | grep -v HWaddr
echo " "
echo -n "DNS Nameserver(s):"
cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2
echo " "
echo " "
echo "HDD Information:"
echo " "
alpha='abcdefghijklmnopqrstuvwxyz'
drives=\$(getcfg Storage 'Disk Drive Number')
for ((i=1;i<=drives;++i)) ; do
echo -n "HDD\$i -"
if [ ! -b /dev/sd\${alpha:\$i-1:1} ] ; then
echo "Drive absent"
else
hdparm -i /dev/sd\${alpha:\$i-1:1} | grep "Model"
echo " "
parted /dev/sd\${alpha:\$i-1:1} print
echo " "
/sbin/get_hd_smartinfo -d \$i
echo " "
fi
done
echo "Volume Status"
echo " "
mdadm -D /dev/md0 /dev/md1 2>/dev/null
echo " "
cat /proc/mdstat
echo " "
echo "Disk Space:"
echo " "
df -h | grep -v qpkg
echo " "
echo "Mount Status:"
echo " "
mount | grep -v qpkg
echo " "
#echo "Contents of \$(dirname \$(getcfg -f /etc/config/smb.conf Public path)):"
#echo " "
#ls -lF \$(dirname \$(getcfg -f /etc/config/smb.conf Public path))/
#echo " "
#echo "Windows Shares:"
#echo " "
#for i in \$(grep \] /etc/config/smb.conf | sed 's/\[//g' | sed 's/\]//g' | grep -v global) ;do
# echo -n "\$i:"
# testparm -s -l --section-name=\$i --parameter-name=path 2>/dev/null
#done
#echo " "
#echo "QNAP Media Scanner / Transcoder processes running: "
#echo " "
#/bin/ps | grep medialibrary | grep -v grep
#echo " "
#echo -n "MediaLibrary Configuration file: "
#ls -alF /etc/config/medialibrary.conf
#echo " "
#echo "/etc/config/medialibrary.conf:"
#cat /etc/config/medialibrary.conf
echo " "
echo "Memory Information:"
echo " "
free | grep -v cache:
echo " "
echo "NASReport completed on \$(date +'%Y-%m-%d %T') (\$0)
echo " "
EOF
sleep 2
clear
/tmp/nasreport
#done
[/code]
Please cut&paste the output of the resulting NASReport back to this message thread. (Please include the "code" and "/code" BBCode tags, so that the NASReport text formatting doesn't get "munged" by the Forum software used here).
It should produce a nice report similar to:
NASReport wrote:Code: Select all
********************* ** QNAP NAS Report ** ********************* NAS Model: TS-470 Pro Firmware: 4.1.4 Build 20150522 System Name: NASTY2 Workgroup: WORKGROUP Base Directory: /share/CACHEDEV1_DATA NAS IP address: 10.77.13.145 Default Gateway Device: eth0 inet addr:10.77.13.145 Bcast:10.77.13.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:32345846 errors:0 dropped:0 overruns:0 frame:0 TX packets:35464348 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4599480626 (4386.4 Mb) TX bytes:26317284853 (25098.1 Mb) DNS Nameserver(s):10.77.13.1 HDD Information: HDD1 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1323253 Model: WDC WD30EFRX-68EUZN0 (scsi) Disk /dev/sda: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB primary 3 1086MB 2991GB 2990GB primary 4 2991GB 2992GB 543MB ext3 primary 5 2992GB 3001GB 8554MB linux-swap(v1) primary 001 Raw_Read_Error_Rate 6 200 200 051 OK 003 Spin_Up_Time 6016 179 178 021 OK 004 Start_Stop_Count 48 100 100 000 OK 005 Reallocated_Sector_Ct 0 200 200 140 OK 007 Seek_Error_Rate 0 200 200 000 OK 009 Power_On_Hours 8248 089 089 000 OK 010 Spin_Retry_Count 0 100 253 000 OK 011 Calibration_Retry_Count 0 100 253 000 OK 012 Power_Cycle_Count 48 100 100 000 OK 192 Power-Off_Retract_Count 26 200 200 000 OK 193 Load_Cycle_Count 195 200 200 000 OK 194 Temperature_Celsius 34 116 099 000 OK 196 Reallocated_Event_Count 0 200 200 000 OK 197 Current_Pending_Sector 0 200 200 000 OK 198 Offline_Uncorrectable 0 100 253 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK 200 Multi_Zone_Error_Rate 0 100 253 000 OK HDD2 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1348887 Model: WDC WD30EFRX-68EUZN0 (scsi) Disk /dev/sdb: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB primary 3 1086MB 2991GB 2990GB primary 4 2991GB 2992GB 543MB ext3 primary 5 2992GB 3001GB 8554MB linux-swap(v1) primary 001 Raw_Read_Error_Rate 0 200 200 051 OK 003 Spin_Up_Time 6025 179 177 021 OK 004 Start_Stop_Count 48 100 100 000 OK 005 Reallocated_Sector_Ct 0 200 200 140 OK 007 Seek_Error_Rate 0 200 200 000 OK 009 Power_On_Hours 8248 089 089 000 OK 010 Spin_Retry_Count 0 100 253 000 OK 011 Calibration_Retry_Count 0 100 253 000 OK 012 Power_Cycle_Count 48 100 100 000 OK 192 Power-Off_Retract_Count 26 200 200 000 OK 193 Load_Cycle_Count 192 200 200 000 OK 194 Temperature_Celsius 32 118 101 000 OK 196 Reallocated_Event_Count 0 200 200 000 OK 197 Current_Pending_Sector 0 200 200 000 OK 198 Offline_Uncorrectable 0 100 253 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK 200 Multi_Zone_Error_Rate 0 100 253 000 OK HDD3 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1325878 Model: WDC WD30EFRX-68EUZN0 (scsi) Disk /dev/sdc: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB linux-swap(v1) primary 3 1086MB 2991GB 2990GB primary 4 2991GB 2992GB 543MB ext3 primary 5 2992GB 3001GB 8554MB linux-swap(v1) primary 001 Raw_Read_Error_Rate 0 200 200 051 OK 003 Spin_Up_Time 5908 181 179 021 OK 004 Start_Stop_Count 48 100 100 000 OK 005 Reallocated_Sector_Ct 0 200 200 140 OK 007 Seek_Error_Rate 0 200 200 000 OK 009 Power_On_Hours 8248 089 089 000 OK 010 Spin_Retry_Count 0 100 253 000 OK 011 Calibration_Retry_Count 0 100 253 000 OK 012 Power_Cycle_Count 48 100 100 000 OK 192 Power-Off_Retract_Count 26 200 200 000 OK 193 Load_Cycle_Count 194 200 200 000 OK 194 Temperature_Celsius 34 116 101 000 OK 196 Reallocated_Event_Count 0 200 200 000 OK 197 Current_Pending_Sector 0 200 200 000 OK 198 Offline_Uncorrectable 0 100 253 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK 200 Multi_Zone_Error_Rate 0 100 253 000 OK HDD4 - Model=WDC WD30EFRX-68EUZN0, FwRev=80.00A80, SerialNo=WD-WCC4N1323034 Model: WDC WD30EFRX-68EUZN0 (scsi) Disk /dev/sdd: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB linux-swap(v1) primary 3 1086MB 2991GB 2990GB primary 4 2991GB 2992GB 543MB ext3 primary 5 2992GB 3001GB 8554MB linux-swap(v1) primary 001 Raw_Read_Error_Rate 0 200 200 051 OK 003 Spin_Up_Time 6233 175 173 021 OK 004 Start_Stop_Count 48 100 100 000 OK 005 Reallocated_Sector_Ct 0 200 200 140 OK 007 Seek_Error_Rate 0 200 200 000 OK 009 Power_On_Hours 8249 089 089 000 OK 010 Spin_Retry_Count 0 100 253 000 OK 011 Calibration_Retry_Count 0 100 253 000 OK 012 Power_Cycle_Count 48 100 100 000 OK 192 Power-Off_Retract_Count 26 200 200 000 OK 193 Load_Cycle_Count 192 200 200 000 OK 194 Temperature_Celsius 33 117 104 000 OK 196 Reallocated_Event_Count 0 200 200 000 OK 197 Current_Pending_Sector 0 200 200 000 OK 198 Offline_Uncorrectable 0 100 253 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK 200 Multi_Zone_Error_Rate 0 100 253 000 OK Volume Status /dev/md1: Version : 1.0 Creation Time : Fri Jun 20 05:27:14 2014 Raid Level : raid5 Array Size : 8760934848 (8355.08 GiB 8971.20 GB) Used Dev Size : 2920311616 (2785.03 GiB 2990.40 GB) Raid Devices : 4 Total Devices : 4 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Tue Jun 16 20:15:10 2015 State : active Active Devices : 4 Working Devices : 4 Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 64K Name : 1 UUID : 5456a5f1:f3c2e059:f20f0fe5:4be19ed5 Events : 28 Number Major Minor RaidDevice State 0 8 51 0 active sync /dev/sdd3 1 8 35 1 active sync /dev/sdc3 2 8 19 2 active sync /dev/sdb3 3 8 3 3 active sync /dev/sda3 Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md1 : active raid5 sdd3[0] sda3[3] sdb3[2] sdc3[1] 8760934848 blocks super 1.0 level 5, 64k chunk, algorithm 2 [4/4] [UUUU] bitmap: 4/22 pages [16KB], 65536KB chunk md258 : active raid1 sdi2[2](S) sdh2[1] sdk2[0] 530112 blocks super 1.0 [2/2] [UU] bitmap: 0/1 pages [0KB], 65536KB chunk md256 : active raid1 sda2[3](S) sdb2[2](S) sdc2[1] sdd2[0] 530112 blocks super 1.0 [2/2] [UU] bitmap: 0/1 pages [0KB], 65536KB chunk md13 : active raid1 sdd4[0] sda4[3] sdb4[2] sdc4[1] 458880 blocks super 1.0 [24/4] [UUUU____________________] bitmap: 1/1 pages [4KB], 65536KB chunk md9 : active raid1 sdd1[0] sda1[3] sdb1[2] sdc1[1] 530048 blocks super 1.0 [24/4] [UUUU____________________] bitmap: 1/1 pages [4KB], 65536KB chunk unused devices: <none> Disk Space: Filesystem Size Used Avail Use% Mounted on rootfs 200M 154M 47M 77% / none 200M 154M 47M 77% / devtmpfs 3.9G 12K 3.9G 1% /dev tmpfs 64M 4.2M 60M 7% /tmp tmpfs 3.9G 48K 3.9G 1% /dev/shm /dev/md9 510M 135M 375M 27% /mnt/HDA_ROOT /dev/mapper/cachedev1 8.1T 7.4T 695G 92% /share/CACHEDEV1_DATA /dev/md13 371M 289M 83M 78% /mnt/ext tmpfs 8.0M 0 8.0M 0% /var/syslog_maildir /dev/mapper/cachedev1 /dev/mapper/cachedev1 Mount Status: none on /new_root type tmpfs (rw,mode=0755,size=200M) /proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,size=64M,size=64M) tmpfs on /dev/shm type tmpfs (rw) none on /proc/bus/usb type usbfs (rw) /dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered) /dev/mapper/cachedev1 on /share/CACHEDEV1_DATA type ext4 /(rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,acl) /dev/md13 on /mnt/ext type ext3 (rw,data=ordered) none on /sys/kernel/config type configfs (rw) tmpfs on /var/syslog_maildir type tmpfs (rw,size=8M) nfsd on /proc/fs/nfsd type nfsd (rw) Windows Shares: Multimedia:/share/CACHEDEV1_DATA/Multimedia Download:/share/CACHEDEV1_DATA/Download Recordings:/share/CACHEDEV1_DATA/Recordings Web:/share/CACHEDEV1_DATA/Web Public:/share/CACHEDEV1_DATA/Public homes:/share/CACHEDEV1_DATA/homes TVShows:/share/CACHEDEV1_DATA/Multimedia/Video/TVShows Movies:/share/CACHEDEV1_DATA/Multimedia/Video/Movies Logs:/var/log Config:/etc/config home:%H Memory Information: total used free shared buffers cached Mem: 8069752 8009552 60200 0 6375788 479200 Swap: 1060216 20 1060196 NASReport completed on 2015-06-16 20:15:11 (/tmp/nasreport)
It could be. I've never attempted such a silly action myself, so I have no idea if this will be an issue or not. Dumb move IMHO. Hopefully my NASReport script can shed some light on this situation.ultrah wrote:No particular reason. The drive in slot 1 failed and I told the guy who uses this NAS to replace the drive. He just put it in slot 3 for some reason. Is this an issue?
Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs
Please review: When you're asking a question, please include the following.
-
- Starting out
- Posts: 20
- Joined: Sun Jun 21, 2015 6:35 pm
Re: TS-412 Online Raid Level Migration missing?
hope this helps. It's a bit odd that something like this requires shell commands. this is a consumer product, after all.
Code: Select all
*********************
** QNAP NAS Report **
*********************
NAS Model: TS-412
Firmware: 4.1.4 Build 20150522
System Name: ###
Workgroup: ###
Base Directory: /share/MD0_DATA
NAS IP address: 192.168.1.59
Default Gateway Device: eth0
inet addr:192.168.1.59 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:9bff:fecc:cc8e/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80342 errors:0 dropped:0 overruns:0 frame:0
TX packets:89259 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:22532441 (21.4 MiB) TX bytes:21146739 (20.1 MiB)
Interrupt:15
DNS Nameserver(s):192.168.1.1
HDD Information:
HDD1 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= Z4N3NZJGS
Model: TOSHIBA DT01ACA300 (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 3000GB 2999GB ext4 primary
4 3000GB 3001GB 510MB ext3 primary
001 Raw_Read_Error_Rate 0 100 100 016 OK
002 Throughput_Performance 70 139 139 054 OK
003 Spin_Up_Time 313 100 100 024 OK
004 Start_Stop_Count 5 100 100 000 OK
005 Reallocated_Sector_Ct 0 100 100 005 OK
007 Seek_Error_Rate 0 100 100 067 OK
008 Seek_Time_Performance 33 124 124 020 OK
009 Power_On_Hours 218 100 100 000 OK
010 Spin_Retry_Count 0 100 100 060 OK
012 Power_Cycle_Count 5 100 100 000 OK
192 Power-Off_Retract_Count 8 100 100 000 OK
193 Load_Cycle_Count 8 100 100 000 OK
194 Temperature_Celsius 38 157 157 000 OK
196 Reallocated_Event_Count 0 100 100 000 OK
197 Current_Pending_Sector 0 100 100 000 OK
198 Offline_Uncorrectable 0 100 100 000 OK
199 UDMA_CRC_Error_Count 0 200 200 000 OK
HDD2 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= Z37G839GS
Model: TOSHIBA DT01ACA300 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 3000GB 2999GB ext4 primary
4 3000GB 3001GB 510MB ext3 primary
001 Raw_Read_Error_Rate 0 100 100 016 OK
002 Throughput_Performance 68 140 140 054 OK
003 Spin_Up_Time 413 (Average 421) 137 137 024 OK
004 Start_Stop_Count 98 100 100 000 OK
005 Reallocated_Sector_Ct 0 100 100 005 OK
007 Seek_Error_Rate 0 100 100 067 OK
008 Seek_Time_Performance 32 126 126 020 OK
009 Power_On_Hours 9172 099 099 000 OK
010 Spin_Retry_Count 0 100 100 060 OK
012 Power_Cycle_Count 13 100 100 000 OK
192 Power-Off_Retract_Count 104 100 100 000 OK
193 Load_Cycle_Count 104 100 100 000 OK
194 Temperature_Celsius 40 150 150 000 OK
196 Reallocated_Event_Count 0 100 100 000 OK
197 Current_Pending_Sector 0 100 100 000 OK
198 Offline_Uncorrectable 0 100 100 000 OK
199 UDMA_CRC_Error_Count 0 200 200 000 OK
HDD3 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= X4DMXA9GS
Model: TOSHIBA DT01ACA300 (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB primary
3 1086MB 3000GB 2999GB ext4 primary
4 3000GB 3001GB 510MB ext3 primary
001 Raw_Read_Error_Rate 0 100 100 016 OK
002 Throughput_Performance 69 140 140 054 OK
003 Spin_Up_Time 0 100 100 024 OK
004 Start_Stop_Count 2 100 100 000 OK
005 Reallocated_Sector_Ct 0 100 100 005 OK
007 Seek_Error_Rate 0 100 100 067 OK
008 Seek_Time_Performance 33 124 124 020 OK
009 Power_On_Hours 21 100 100 000 OK
010 Spin_Retry_Count 0 100 100 060 OK
012 Power_Cycle_Count 2 100 100 000 OK
192 Power-Off_Retract_Count 2 100 100 000 OK
193 Load_Cycle_Count 2 100 100 000 OK
194 Temperature_Celsius 40 150 150 000 OK
196 Reallocated_Event_Count 0 100 100 000 OK
197 Current_Pending_Sector 0 100 100 000 OK
198 Offline_Uncorrectable 0 100 100 000 OK
199 UDMA_CRC_Error_Count 0 200 200 000 OK
HDD4 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= Z4O1A04KS
Model: TOSHIBA DT01ACA300 (scsi)
Disk /dev/sdd: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB primary
3 1086MB 3000GB 2999GB ext4 primary
4 3000GB 3001GB 510MB ext3 primary
001 Raw_Read_Error_Rate 0 100 100 016 OK
002 Throughput_Performance 68 140 140 054 OK
003 Spin_Up_Time 0 100 100 024 OK
004 Start_Stop_Count 4 100 100 000 OK
005 Reallocated_Sector_Ct 0 100 100 005 OK
007 Seek_Error_Rate 0 100 100 067 OK
008 Seek_Time_Performance 33 124 124 020 OK
009 Power_On_Hours 21 100 100 000 OK
010 Spin_Retry_Count 0 100 100 060 OK
012 Power_Cycle_Count 4 100 100 000 OK
192 Power-Off_Retract_Count 4 100 100 000 OK
193 Load_Cycle_Count 4 100 100 000 OK
194 Temperature_Celsius 38 157 157 000 OK
196 Reallocated_Event_Count 0 100 100 000 OK
197 Current_Pending_Sector 0 100 100 000 OK
198 Offline_Uncorrectable 0 100 100 000 OK
199 UDMA_CRC_Error_Count 0 200 200 000 OK
Volume Status
/dev/md0:
Version : 01.00.03
Creation Time : Fri Jul 20 23:43:41 2012
Raid Level : raid1
Array Size : 2928697556 (2793.02 GiB 2998.99 GB)
Used Dev Size : 2928697556 (2793.02 GiB 2998.99 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sun Jun 21 13:24:59 2015
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : 0
UUID : b068f003:71348c46:1db8e02e:830211ea
Events : 69318987
Number Major Minor RaidDevice State
3 8 35 0 active sync /dev/sdc3
2 8 19 1 active sync /dev/sdb3
Personalities : [raid1] [linear] [raid0] [raid10] [raid6] [raid5] [raid4]
md0 : active raid1 sdc3[3] sdb3[2]
2928697556 blocks super 1.0 [2/2] [UU]
md4 : active raid1 sdd2[4](S) sdc2[3](S) sdb2[2] sda2[0]
530128 blocks super 1.0 [2/2] [UU]
md13 : active raid1 sda4[0] sdd4[3] sdc4[2] sdb4[1]
458880 blocks [4/4] [UUUU]
bitmap: 0/57 pages [0KB], 4KB chunk
md9 : active raid1 sdb1[0] sdd1[3] sdc1[2] sda1[1]
530048 blocks [4/4] [UUUU]
bitmap: 5/65 pages [20KB], 4KB chunk
unused devices: <none>
Disk Space:
Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 32.9M 17.3M 15.6M 53% /
tmpfs 32.0M 320.0k 31.7M 1% /tmp
/dev/sda4 371.0M 350.4M 20.6M 94% /mnt/ext
/dev/md9 509.5M 154.0M 355.5M 30% /mnt/HDA_ROOT
/dev/sda3 2.7T 201.0M 2.7T 0% /share/HDA_DATA
/dev/md0 2.7T 2.7T 502.8M 100% /share/MD0_DATA
/dev/sdd3 2.7T 201.0M 2.7T 0% /share/HDD_DATA
Mount Status:
/proc on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=32M)
none on /proc/bus/usb type usbfs (rw)
/dev/sda4 on /mnt/ext type ext3 (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/sda3 on /share/HDA_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl)
/dev/md0 on /share/MD0_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl)
/dev/sdd3 on /share/HDD_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl)
Memory Information:
total used free shared buffers
Mem: 255604 213284 42320 0 5036
Swap: 530124 73948 456176
Total: 785728 287232 498496
NASReport completed on 2015-06-21 13:26:40 (/tmp/nasreport)
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: TS-412 Online Raid Level Migration missing?
ultrah wrote:hope this helps. It's a bit odd that something like this requires shell commands. this is a consumer product, after all.
This wouldn't have been necessary at all, if the Online RAID Level Migration had been done properly, and if he didn't "get original" when replacing the defective drive. Go figure.
A WebUI simply can't do things that the Linux CLI can. I almost live in SSH myself.
Yes. It should work, to wipe the drives in question. The following commands will do it for you:ultrah wrote:Code: Select all
********************* ** QNAP NAS Report ** ********************* NAS Model: TS-412 Firmware: 4.1.4 Build 20150522 System Name: ### Workgroup: ### Base Directory: /share/MD0_DATA NAS IP address: 192.168.1.59 Default Gateway Device: eth0 inet addr:192.168.1.59 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::208:9bff:fecc:cc8e/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:80342 errors:0 dropped:0 overruns:0 frame:0 TX packets:89259 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:532 RX bytes:22532441 (21.4 MiB) TX bytes:21146739 (20.1 MiB) Interrupt:15 DNS Nameserver(s):192.168.1.1 HDD Information: HDD1 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= Z4N3NZJGS Model: TOSHIBA DT01ACA300 (scsi) Disk /dev/sda: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB linux-swap(v1) primary 3 1086MB 3000GB 2999GB ext4 primary 4 3000GB 3001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 0 100 100 016 OK 002 Throughput_Performance 70 139 139 054 OK 003 Spin_Up_Time 313 100 100 024 OK 004 Start_Stop_Count 5 100 100 000 OK 005 Reallocated_Sector_Ct 0 100 100 005 OK 007 Seek_Error_Rate 0 100 100 067 OK 008 Seek_Time_Performance 33 124 124 020 OK 009 Power_On_Hours 218 100 100 000 OK 010 Spin_Retry_Count 0 100 100 060 OK 012 Power_Cycle_Count 5 100 100 000 OK 192 Power-Off_Retract_Count 8 100 100 000 OK 193 Load_Cycle_Count 8 100 100 000 OK 194 Temperature_Celsius 38 157 157 000 OK 196 Reallocated_Event_Count 0 100 100 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK HDD2 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= Z37G839GS Model: TOSHIBA DT01ACA300 (scsi) Disk /dev/sdb: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB linux-swap(v1) primary 3 1086MB 3000GB 2999GB ext4 primary 4 3000GB 3001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 0 100 100 016 OK 002 Throughput_Performance 68 140 140 054 OK 003 Spin_Up_Time 413 (Average 421) 137 137 024 OK 004 Start_Stop_Count 98 100 100 000 OK 005 Reallocated_Sector_Ct 0 100 100 005 OK 007 Seek_Error_Rate 0 100 100 067 OK 008 Seek_Time_Performance 32 126 126 020 OK 009 Power_On_Hours 9172 099 099 000 OK 010 Spin_Retry_Count 0 100 100 060 OK 012 Power_Cycle_Count 13 100 100 000 OK 192 Power-Off_Retract_Count 104 100 100 000 OK 193 Load_Cycle_Count 104 100 100 000 OK 194 Temperature_Celsius 40 150 150 000 OK 196 Reallocated_Event_Count 0 100 100 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK HDD3 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= X4DMXA9GS Model: TOSHIBA DT01ACA300 (scsi) Disk /dev/sdc: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB primary 3 1086MB 3000GB 2999GB ext4 primary 4 3000GB 3001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 0 100 100 016 OK 002 Throughput_Performance 69 140 140 054 OK 003 Spin_Up_Time 0 100 100 024 OK 004 Start_Stop_Count 2 100 100 000 OK 005 Reallocated_Sector_Ct 0 100 100 005 OK 007 Seek_Error_Rate 0 100 100 067 OK 008 Seek_Time_Performance 33 124 124 020 OK 009 Power_On_Hours 21 100 100 000 OK 010 Spin_Retry_Count 0 100 100 060 OK 012 Power_Cycle_Count 2 100 100 000 OK 192 Power-Off_Retract_Count 2 100 100 000 OK 193 Load_Cycle_Count 2 100 100 000 OK 194 Temperature_Celsius 40 150 150 000 OK 196 Reallocated_Event_Count 0 100 100 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK HDD4 - Model=TOSHIBA DT01ACA300 , FwRev=MX6OABB0, SerialNo= Z4O1A04KS Model: TOSHIBA DT01ACA300 (scsi) Disk /dev/sdd: 3001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 20.5kB 543MB 543MB ext3 primary 2 543MB 1086MB 543MB primary 3 1086MB 3000GB 2999GB ext4 primary 4 3000GB 3001GB 510MB ext3 primary 001 Raw_Read_Error_Rate 0 100 100 016 OK 002 Throughput_Performance 68 140 140 054 OK 003 Spin_Up_Time 0 100 100 024 OK 004 Start_Stop_Count 4 100 100 000 OK 005 Reallocated_Sector_Ct 0 100 100 005 OK 007 Seek_Error_Rate 0 100 100 067 OK 008 Seek_Time_Performance 33 124 124 020 OK 009 Power_On_Hours 21 100 100 000 OK 010 Spin_Retry_Count 0 100 100 060 OK 012 Power_Cycle_Count 4 100 100 000 OK 192 Power-Off_Retract_Count 4 100 100 000 OK 193 Load_Cycle_Count 4 100 100 000 OK 194 Temperature_Celsius 38 157 157 000 OK 196 Reallocated_Event_Count 0 100 100 000 OK 197 Current_Pending_Sector 0 100 100 000 OK 198 Offline_Uncorrectable 0 100 100 000 OK 199 UDMA_CRC_Error_Count 0 200 200 000 OK Volume Status /dev/md0: Version : 01.00.03 Creation Time : Fri Jul 20 23:43:41 2012 Raid Level : raid1 Array Size : 2928697556 (2793.02 GiB 2998.99 GB) Used Dev Size : 2928697556 (2793.02 GiB 2998.99 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Sun Jun 21 13:24:59 2015 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : 0 UUID : b068f003:71348c46:1db8e02e:830211ea Events : 69318987 Number Major Minor RaidDevice State 3 8 35 0 active sync /dev/sdc3 2 8 19 1 active sync /dev/sdb3 Personalities : [raid1] [linear] [raid0] [raid10] [raid6] [raid5] [raid4] md0 : active raid1 sdc3[3] sdb3[2] 2928697556 blocks super 1.0 [2/2] [UU] md4 : active raid1 sdd2[4](S) sdc2[3](S) sdb2[2] sda2[0] 530128 blocks super 1.0 [2/2] [UU] md13 : active raid1 sda4[0] sdd4[3] sdc4[2] sdb4[1] 458880 blocks [4/4] [UUUU] bitmap: 0/57 pages [0KB], 4KB chunk md9 : active raid1 sdb1[0] sdd1[3] sdc1[2] sda1[1] 530048 blocks [4/4] [UUUU] bitmap: 5/65 pages [20KB], 4KB chunk unused devices: <none> Disk Space: Filesystem Size Used Available Use% Mounted on /dev/ramdisk 32.9M 17.3M 15.6M 53% / tmpfs 32.0M 320.0k 31.7M 1% /tmp /dev/sda4 371.0M 350.4M 20.6M 94% /mnt/ext /dev/md9 509.5M 154.0M 355.5M 30% /mnt/HDA_ROOT /dev/sda3 2.7T 201.0M 2.7T 0% /share/HDA_DATA /dev/md0 2.7T 2.7T 502.8M 100% /share/MD0_DATA /dev/sdd3 2.7T 201.0M 2.7T 0% /share/HDD_DATA Mount Status: /proc on /proc type proc (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,size=32M) none on /proc/bus/usb type usbfs (rw) /dev/sda4 on /mnt/ext type ext3 (rw) /dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered) /dev/sda3 on /share/HDA_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl) /dev/md0 on /share/MD0_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl) /dev/sdd3 on /share/HDD_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl) Memory Information: total used free shared buffers Mem: 255604 213284 42320 0 5036 Swap: 530124 73948 456176 Total: 785728 287232 498496 NASReport completed on 2015-06-21 13:26:40 (/tmp/nasreport)
Code: Select all
dd if=/dev/zero of=/dev/sd{a,d} bs=512 count=1
Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs
Please review: When you're asking a question, please include the following.
-
- Starting out
- Posts: 20
- Joined: Sun Jun 21, 2015 6:35 pm
Re: TS-412 Online Raid Level Migration missing?
Looks good. The reboot took a while, but now I have the options that I was looking for. Thanks!
Still odd that there is no "button" to delete the partition table on a disk in the Web interface
Still odd that there is no "button" to delete the partition table on a disk in the Web interface
- Briain
- Experience counts
- Posts: 1749
- Joined: Tue Apr 20, 2010 11:56 pm
- Location: Edinburgh (Scotland)
Re: TS-412 Online Raid Level Migration missing?
Just for information, you can also do it by putting the disk in a USB caddy and hooking it up to a computer. I guess that it is a relatively infrequent requirement, so perhaps Qnap have figured that removing the disk (to do it using a computer) is in some ways a 'safer' solution than using a button in the GUI (as perhaps they are thinking that there's less chance of someone accidentally trashing the wrong disk in a multi-disk set, via a 'spirited' button-press with the incorrect disk selected, for example)? Just me guessing.
Bri
I guess the lack of button also prevents folks from accidentally pressing it.
Bri
I guess the lack of button also prevents folks from accidentally pressing it.
TS-119, 1 X Seagate ~~ TS-219, 2 X Seagate (R1) ~~ TS-453A, 2 X 3 TB WD Red (R1) ~~ TS-659, 5 X 1 TB Hitachi Enterprise (R6)
APC Smart-UPS 750
APC Smart-UPS 750
-
- Starting out
- Posts: 20
- Joined: Sun Jun 21, 2015 6:35 pm
Re: TS-412 Online Raid Level Migration missing?
Is the migration progress indicator reliable? Currently it is at 25% after about 60 hours.
- pwilson
- Guru
- Posts: 22533
- Joined: Fri Mar 06, 2009 11:20 am
- Location: Victoria, BC, Canada (UTC-08:00)
Re: TS-412 Online Raid Level Migration missing?
Probably. The TS-412 has very little RAM, and a very slow 32bit processor.ultrah wrote:Is the migration progress indicator reliable? Currently it is at 25% after about 60 hours.
Please provide the output for:
Code: Select all
cat /proc/mdstat
Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs
Please review: When you're asking a question, please include the following.
-
- Starting out
- Posts: 20
- Joined: Sun Jun 21, 2015 6:35 pm
Re: TS-412 Online Raid Level Migration missing?
For some reason the migration failed after running for about a week, no other info in the log. After a reboot it is now rebuilding the Mirroring Configuration. Maybe its better to just pull a backup, wipe the NAS, rebuilt with Raid 5 and play the backup back?
-
- Starting out
- Posts: 20
- Joined: Sun Jun 21, 2015 6:35 pm
Re: TS-412 Online Raid Level Migration missing?
Alright, so I created a backup using RTRR. Can I just wipe the drives now and play the backup back?