Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Software Raid /dev/md0 problem
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Software Raid /dev/md0 problem

BlazeMuisBlazeMuis Member

Hi,

Need some help with Software RAID (Existing Proxmox install). Been following this tutorial: https://boffblog.wordpress.com/2013/08/22/how-to-install-proxmox-ve-3-0-on-software-raid/

But when I copy the /boot folder to /dev/md0 I get the following errors:

cp: cannot create regular file `/mnt/md0/grub/x86_64-efi/ls.mod': No space left on device
cp: cannot create regular file `/mnt/md0/grub/x86_64-efi/efifwsetup.mod': No space left on device
cp: cannot create regular file `/mnt/md0/grub/x86_64-efi/time.mod': No space left on device
cp: cannot create regular file `/mnt/md0/grub/x86_64-efi/fshelp.mod': No space left on device
cp: cannot create regular file `/mnt/md0/grub/x86_64-efi/tar.mod': No space left on device
cp: cannot create regular file `/mnt/md0/grub/x86_64-efi/gcry_rsa.mod': No space left on device
cp: cannot create regular file `/mnt/md0/grub/x86_64-efi/morse.mod': No space left on device
cp: cannot create directory `/mnt/md0/grub/i386-pc': No space left on device
cp: cannot create regular file `/mnt/md0/grub/grubenv': No space left on device
cp: cannot create regular file `/mnt/md0/initrd.img-2.6.32-37-pve': No space left on device
cp: cannot create regular file `/mnt/md0/memtest86+.bin': No space left on device
cp: cannot create regular file `/mnt/md0/memtest86+_multiboot.bin': No space left on device
cp: cannot create regular file `/mnt/md0/System.map-2.6.32-37-pve': No space left on device
cp: cannot create regular file `/mnt/md0/vmlinuz-2.6.32-37-pve': No space left on device

And it continues and it continues...

Anyone got a solution for this? /dev/md0 shows 940k out of 940k used

Comments

  • tehdantehdan Member

    why have you only made a 940kB RAID device?

  • @tehdan said:
    why have you only made a 940kB RAID device?

    Well i don't know? I was just following that tutorial lol

  • ehabehab Member

    joodle, take a break and do something else this weekend.

  • tehdantehdan Member

    please post output of

    fdisk -l /dev/sda

  • @tehdan said:
    please post output of

    fdisk -l /dev/sda

    root@proxmox:/mnt# fdisk -l /dev/sda
    
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    
    
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1  3907029167  1953514583+  ee  GPT
  • tehdantehdan Member

    ah - big disks :)

    parted -l /dev/sda

  • @tehdan said:
    ah - big disks :)

    parted -l /dev/sda

    Model: ATA WDC WD2000FYYZ-0 (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags:
    
    Number  Start   End     Size    File system  Name                  Flags
     1      1049kB  2097kB  1049kB               Grub-Boot-Partition   bios_grub
     2      2097kB  136MB   134MB                EFI-System-Partition  raid
     3      136MB   2000GB  2000GB               PVE-LVM2-Partition    lvm
    
    
    Model: ATA WDC WD2003FYYS-0 (scsi)
    Disk /dev/sdb: 2000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags:
    
    Number  Start  End     Size    File system  Flags
     1      0.00B  2000GB  2000GB  ext3
    
    
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data: 1872GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags:
    
    Number  Start  End     Size    File system  Flags
     1      0.00B  1872GB  1872GB  ext3
    
    
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-swap: 7516MB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags:
    
    Number  Start  End     Size    File system     Flags
     1      0.00B  7516MB  7516MB  linux-swap(v1)
    
    
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-root: 103GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags:
    
    Number  Start  End    Size   File system  Flags
     1      0.00B  103GB  103GB  ext3
    
  • Got it fixed now, Formatted /dev/sdb and it worked :P

  • @joodle said:
    Got it fixed now, Formatted /dev/sdb and it worked :P

    Care to share?

Sign In or Register to comment.