News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Beeker

#1
Thanks Mike.............I do have a back up in place now to avoid sudden death in the future :)
#2
All fixed thanks to Crumble for a super human effort and avoid an early funeral after recovering the wedding photos :)

Thanks to Mike as well

Kind regards
Beeker
#3
OK thanks Mike :)
#4
Thanks guys will give it a go and let you know how it goes

Kind regards
Beeker
#5
Hey Crumble,
Tried formatting sde1 and got the following then tried to add and still get that same error and I also have included a fdisk -l report just as an fyi

dcerouter_1024641:/home/# mkfs.ext3 /dev/sde1
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
91578368 inodes, 366283520 blocks
18314176 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
11179 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
       4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
dcerouter_1024641:/home/#


dcerouter_1024641:/home/# mdadm --add /dev/md1 /dev/sde1
                  mdadm: /dev/sde1 not large enough to join array


dcerouter_1024641:/home/# fdisk -l

Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x39686ed2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       90446   726507463+  83  Linux
/dev/sda2           90447       91201     6064537+   5  Extended
/dev/sda5           90447       91201     6064506   82  Linux swap / Solaris

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006a5c8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      182401  1465136001   83  Linux

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb217d64b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      182401  1465136001   83  Linux

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x43b7a284

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      182401  1465136001   83  Linux

Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2848762e

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1      182401  1465134080   83  Linux
#6
Not a bad idea, I assume no other data will magically appear after rebuilding the RAID5 and spot on moved all the data to my QNAP with 16TB of storage in RAID6

Can I rebuild the existing RAID5 to RAID10 once I get that extra HDD back into the original RAID array
#7
Just confirming 

mkfs.ext3 /dev/sde1
#8
Sorry Crumble no luck with that command see below

dcerouter_1024641:/home/# mdadm --fail /dev/md1 /dev/sde1
mdadm: set device faulty failed for /dev/sde1:  No such device

dcerouter_1024641:/home/# mdadm: set /dev/sde1 faulty in /dev/md1
bash: mdadm:: command not found

Cheers
Beeker


#9
Can I format it with out taking it out and putting it into another pc
#10
Tried that and still got the same thing as per below

dcerouter_1024641:/home/# mdadm --add /dev/md1 /dev/sde1
mdadm: /dev/sde1 not large enough to join array
dcerouter_1024641:/home/#

Checked this as well just to give you some more info

dcerouter_1024641:/home/# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid5 sdb1[0] sdd1[3] sdc1[1]
      4395407808 blocks level 5, 64k chunk, algorithm 2 [4/3] [UU_U]
unused devices: <none>
#11
Tried that and got this message

dcerouter_1024641:/home/# mdadm --manage /dev/md1 --add /dev/sde1
mdadm: /dev/sde1 not large enough to join array
#12
Hi Crumble,
Here you go

dcerouter_1024641:/home/# mdadm -D /dev/md1
/dev/md1:
        Version : 00.90
  Creation Time : Sun Dec 27 10:14:43 2009
     Raid Level : raid5
     Array Size : 4395407808 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Sun Aug 25 19:10:32 2013
          State : clean, degraded
Active Devices : 3
Working Devices : 3
Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 5747d0ac:31c15bff:bd9f1658:0a1d2015 (local to host dcerouter)
         Events : 0.625036

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       33        1      active sync   /dev/sdc1
       2       0        0        2      removed
       3       8       49        3      active sync   /dev/sdd1
#13
Will grab it now
#14
Hi Crumble,
Very sorry been out of action with work and an arm injury...........below is fdisk -l and the df -h

Cheers
Beeker

--------------------------------------------------------------------------------------------------------------
dcerouter_1024641:/home/# fdisk -l

Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x39686ed2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       90446   726507463+  83  Linux
/dev/sda2           90447       91201     6064537+   5  Extended
/dev/sda5           90447       91201     6064506   82  Linux swap / Solaris

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006a5c8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      182401  1465136001   83  Linux

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb217d64b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      182401  1465136001   83  Linux

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x43b7a284

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      182401  1465136001   83  Linux

Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2848762e

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1      182401  1465134080   83  Linux
dcerouter_1024641:/home/#

---------------------------------------------------------------------------------------------------

dcerouter_1024641:/home/# df -h
Filesystem            Size Used Avail Use% Mounted on
rootfs                682G   44G  604G   7% /
udev                 1012M  2.9M 1009M   1% /dev
/dev/disk/by-uuid/50ef0102-13de-4f96-8c0f-23a2e75ee41f
                      682G   44G  604G   7% /
/dev/disk/by-uuid/50ef0102-13de-4f96-8c0f-23a2e75ee41f
                      682G   44G  604G   7% /dev/.static/dev
tmpfs                1012M     0 1012M   0% /lib/init/rw
varrun               1012M  392K 1012M   1% /var/run
varlock              1012M     0 1012M   0% /var/lock
tmpfs                1012M  2.2M 1010M   1% /lib/modules/2.6.27-17-generic/volatile
tmpfs                1012M     0 1012M   0% /dev/shm
/dev/md1              4.1T  3.2T  703G  83% /mnt/device/31
/dev/md1              4.1T  3.2T  703G  83% /tmp/tmp.RZtaM22685
dcerouter_1024641:/home/#
#15
No problems I will get it shortly and come back to

Cheers
Beeker :)