dd: error writing '/dev/sdc2': No space left on device - Page 3
FedoraForum.org - Fedora Support Forums and Community
Page 3 of 6 FirstFirst 1 2 3 4 5 ... LastLast
Results 31 to 45 of 82
  1. #31
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    I am able to see the HDs on the server using a usb centos7 os!
    Click image for larger version. 

Name:	Screenshot from 2019-02-04 22-06-59.jpg 
Views:	10 
Size:	26.3 KB 
ID:	30039
    Name:  Screenshot from 2019-01-29 15-10-16.png
Views: 51
Size:  34.5 KB


    Quote Originally Posted by HaydnH
    # Now we can try a backup using tar, I'll backup /home as an example
    tar cvpzf /mnt/extdisk/homebackup.tar.gz /home
    Now for back ups do I back up each partition separately ? Will that affect anything because of Raids?

    sdc
    sdd
    sde
    make the raid5 those all have to go to sdg

    Since I am here and to be safe
    Raid0
    sda
    sdb
    should go to sdg as well.

  2. #32
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    If there is no UUID does it mean these drives have no data?
    https://www.dropbox.com/s/bd64tbqgzx...26036.jpg?dl=0

  3. #33
    Join Date
    Aug 2007
    Posts
    354
    Linux (Fedora) Firefox 61.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    If there is no UUID does it mean these drives have no data?
    No it doesn't. The three drives sd{c,d,e} are components of a proprietary RAID 5 format. They would need to be assembled likely using dmraid commands into a RAID5 array. The filesystems contained in this array where the data is stored may have UUIDs.

  4. #34
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    perfect, I got a bit scared there but then i read UUIDs are designed for software developers to get information, and now i correlate your comment

    I want to know how if I can assign a uuid to The.Beast.partition.sd{c,d,e} while I am on a live boot USB Device OS. Is that even possible?

    Heading to bed now, thanks for the comment it gives me some hope to wake up tomorrow to a positive result which would be to recover this data.
    I found this wicked article on UUIDS:

    "uuids-and-linux-everything-you-ever-need-to-know/"
    Haven't got through all of it yet, 3am bed time...

    I got dark reader extension going in firefox, i love it.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot from 2019-02-06 03-03-14.jpg 
Views:	4 
Size:	28.3 KB 
ID:	30042  
    Last edited by themepenguin; 6th February 2019 at 12:16 PM.

  5. #35
    Join Date
    Aug 2007
    Posts
    354
    Linux (Fedora) Firefox 61.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    I want to know how if I can assign a uuid to The.Beast.partition.sd{c,d,e} while I am on a live boot USB Device OS. Is that even possible?
    This isn't how this works. The UUIDs already exist if you were using ext4 or xfs as the file system on the RAID5. It is just a matter of assembling the three drives into the fakeRAID array. UUIDs are not the issue. Assembing your fakeRAID array is the issue.

    The question of whether you can successfully assemble this array from a live boot USB Device OS is a major issue. You will need the exact driver for your onboard fakeRAID controller to be on the live OS. In some cases it needs to be compiled from source. Some drivers such as Intel MSM are proprietary and Fedora won't package them just as it won't package NVidia binary drivers.

    The first thing you need to know is the model of the onboard fakeRAID controller on your MB. Then you need to determine if your Centos 7 live OS has this driver installed. If not then things become very complex. If you need to compile it from source then you will likely need an actual installation on a USB drive and not a prepackaged live OS.

    I found this wicked article on UUIDS:
    "uuids-and-linux-everything-you-ever-need-to-know/"
    Haven't got through all of it yet, 3am bed time...
    This isn't what you should be reading as it isn't really relevant to your problem. You should be reading about how to assemble RAID arrays.

    The first question is how you assembled this array in Linux in the first place when you built the server. Did you use the older dmraid tools or the newer mdadm tools ? It is possible to use mdadm to support fakeRAID controllers as mdadm can support external metadata.

    Please post the output of:

    Code:
    $ dmraid -ay
    $ ls -l /dev/mapper
    If /dev/mapper is empty except for control i.e no symlinks try:

    Code:
    $ mdadm --assemble --scan
    $ ls -l /dev/mapper
    If neither of these commands results in a RAID device in /dev/mapper then the live OS doesn't have the proper driver for the fakeRAID functionality. You will likely have to create an actual Centos 7 install on a USB device and then compile the proper driver from source.
    Last edited by amiga; 8th February 2019 at 11:58 PM. Reason: added detail

  6. #36
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    Code:
    $ mdadm --assemble --scan
    $ ls -l /dev/mapper
    This produced a result: thanks for the command. No arrays found in config file or automatically.
    I have Centos7 running now I can see all the partitions

    Click image for larger version. 

Name:	Screenshot from 2019-02-09 13-29-04.jpg 
Views:	4 
Size:	47.0 KB 
ID:	30066

    The Raid was created using the on board motherboard software. so i did not use dmraid or mdadm tools.
    I tried mounting one of the partitions (result:0) using mount /dev/sda/mnt/run//media/liveuser/DataCabinet | said mount point does not exist.

    Does that mean we need to add something to fstab?

    Im going to look back at Haydens help but I wanted to post to you now Amiga, cheers, thank you

  7. #37
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    im trying to add a label to a raid partition, im getting this error,
    bad magic number in super-block while trying to open /dev/sda | Remember this raid was set up using software mobo raid.

  8. #38
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    Okay so I am trying to back up data from

    the two mountpoints are /run/initramfs/live *Raid 5*

    /run/media/liveuser/DataCabinet *External HD*

  9. #39
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    Here is where I am at on the server:


    # Now we can try a backup using tar, I'll backup /home as an example
    tar cvpzf /mnt/extdisk/homebackup.tar.gz /home

    Click image for larger version. 

Name:	thebeast.lsblk.jpg 
Views:	9 
Size:	114.9 KB 
ID:	30067Click image for larger version. 

Name:	the beast df -h.jpg 
Views:	5 
Size:	88.8 KB 
ID:	30068

    I am thinking next is to:

    tar cvpzf /mnt/run/media/liveuser/DataCabinet/RAID5Backup.tar.gz /NOTSUREWHATTOTYPE HERE.

    I was thinking; I need to tell the cmd to pull all data from mounted on /run/initramfs/live but im getting confused because
    Click image for larger version. 

Name:	thebeast.lsblk.2.jpg 
Views:	7 
Size:	120.0 KB 
ID:	30069

    This makes me confused.
    plz help

  10. #40
    Join Date
    Aug 2007
    Posts
    354
    Linux (Fedora) Firefox 61.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    This produced a result: thanks for the command. No arrays found in config file or automatically.
    Actually it didn't produce anything. You never posted the output of ls -l /dev/mapper after running dmraid -ay. Post the output means either take a crappy picture of the output or better yet save the text to another usb flash drive to post with another computer. Even if successful dmraid -ay may produce no text output but may actually activate the arrays which would appear in /dev/mapper.

    I have Centos7 running now I can see all the partitions
    This is what you posted before and tells us nothing new. I asked for what is in the previous paragraph.

    The Raid was created using the on board motherboard software. so i did not use dmraid or mdadm tools.
    I forgot that you didn't create it yourself however if your system was working fine before it meant that Linux assembled the arrays on every boot somehow.

    im trying to add a label to a raid partition, im getting this error,
    bad magic number in super-block while trying to open /dev/sda
    Don't waste time trying to add labels to anything as you're probably doing it wrong and you can't add file system labels until the array has been assembled. The RAID needs to be assembled.

  11. #41
    Join Date
    Aug 2007
    Posts
    354
    Linux (Fedora) Firefox 61.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    I am thinking next is to:
    tar cvpzf /mnt/run/media/liveuser/DataCabinet/RAID5Backup.tar.gz /NOTSUREWHATTOTYPE HERE.
    There is nothing you can type as you haven't assembled the array yet. The Centos 7 live env may not even have the driver for your controller and you may have to compile it from source.

    You can't back anything up until you assemble the array and you may have to compile a kernel module from source.

    I was thinking; I need to tell the cmd to pull all data from mounted on /run/initramfs/live but im getting confused because
    This is the file system for your live usb, not your data.

  12. #42
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux (Fedora) Firefox 65.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    I see, my apprentice was onto this before he had to leave.
    https://en.wikipedia.org/wiki/Mdadm

    Since my mobo software raid made the raid,

    this fixes it | https://en.wikipedia.org/wiki/Mdadm

    Thoughts? am I off the mark?

  13. #43
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux Firefox 52.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    I'm reading over your notes, I see you now, thank you for reminded me three times to get the information for your question. I am on firefox on the server now, nice.
    So assembly the raid you say?


    Priority.Assemble.FakeRaid
    Does this mobo realted url bring any value?:
    https://www.asus.com/ca-en/Motherboa...pDesk_Download

    [liveuser@localhost DataCabinet]$ ls -l /dev/mapper
    total 0
    crw-------. 1 root root 10, 236 Feb 9 18:42 control
    lrwxrwxrwx. 1 root root 7 Feb 9 18:42 live-base -> ../dm-1
    lrwxrwxrwx. 1 root root 7 Feb 9 18:42 live-osimg-min -> ../dm-2
    lrwxrwxrwx. 1 root root 7 Feb 9 18:42 live-rw -> ../dm-0

    [liveuser@localhost DataCabinet]$ dmraid -ay

    [liveuser@localhost by-id]$ sudo dmraid -ay
    ERROR: device-mapper target type "raid45" is not in the kernel
    RAID set "isw_bihcjjbacf_Backup" was not activated
    ERROR: device "isw_bihcjjbacf_Backup" could not be found
    RAID set "isw_djbaagagjd_Volume1" was activated
    device "isw_djbaagagjd_Volume1" is now registered with dmeventd for monitoring

    /dev/disk/by-id
    [liveuser@localhost by-id]$ ll
    total 0
    lrwxrwxrwx. 1 root root 9 Feb 9 21:40 ata-INTEL_SSDSC2BP480G4_BTJR4363048S480BGN -> ../../sda
    lrwxrwxrwx. 1 root root 10 Feb 9 21:40 ata-INTEL_SSDSC2BP480G4_BTJR4363048S480BGN-part1 -> ../../sda1
    lrwxrwxrwx. 1 root root 10 Feb 9 21:40 ata-INTEL_SSDSC2BP480G4_BTJR4363048S480BGN-part2 -> ../../sda2
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 ata-INTEL_SSDSC2BP480G4_BTJR441101NQ480BGN -> ../../sdb
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 ata-INTEL_SSDSC2BP480G4_BTJR441101NQ480BGN-part1 -> ../../sdb1
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 ata-INTEL_SSDSC2BP480G4_BTJR441101NQ480BGN-part2 -> ../../sdb2
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 ata-INTEL_SSDSC2BP480G4_BTJR441101NQ480BGN-part3 -> ../../sdb3
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 ata-INTEL_SSDSC2BP480G4_BTJR441101NQ480BGN-part4 -> ../../sdb4
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 ata-ST2000DM006-2DM164_Z4ZC735M -> ../../sdc
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 ata-WDC_WD20EARS-00MVWB0_WD-WMAZA3773726 -> ../../sde
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 ata-WDC_WD20EARS-00MVWB0_WD-WMAZA4962589 -> ../../sdd
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 dm-name-live-base -> ../../dm-1
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 dm-name-live-osimg-min -> ../../dm-2
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 dm-name-live-rw -> ../../dm-0
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 usb-Seagate_Expansion_Desk_NAAA4LCS-0:0 -> ../../sdg
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 usb-Seagate_Expansion_Desk_NAAA4LCS-0:0-part1 -> ../../sdg1
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 usb-Seagate_Expansion_Desk_NAAA4LCS-0:0-part2 -> ../../sdg2
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 usb-Verbatim_STORE_N_GO_070B43CE1CC2F965-0:0 -> ../../sdf
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 usb-Verbatim_STORE_N_GO_070B43CE1CC2F965-0:0-part1 -> ../../sdf1
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 wwn-0x5000c500b2d14e70 -> ../../sdc
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 wwn-0x50014ee002ab5322 -> ../../sde
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 wwn-0x50014ee002c51a27 -> ../../sdd
    lrwxrwxrwx. 1 root root 9 Feb 9 21:40 wwn-0x55cd2e404b6d6722 -> ../../sda
    lrwxrwxrwx. 1 root root 10 Feb 9 21:40 wwn-0x55cd2e404b6d6722-part1 -> ../../sda1
    lrwxrwxrwx. 1 root root 10 Feb 9 21:40 wwn-0x55cd2e404b6d6722-part2 -> ../../sda2
    lrwxrwxrwx. 1 root root 9 Feb 9 18:42 wwn-0x55cd2e404b6f3afa -> ../../sdb
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 wwn-0x55cd2e404b6f3afa-part1 -> ../../sdb1
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 wwn-0x55cd2e404b6f3afa-part2 -> ../../sdb2
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 wwn-0x55cd2e404b6f3afa-part3 -> ../../sdb3
    lrwxrwxrwx. 1 root root 10 Feb 9 18:42 wwn-0x55cd2e404b6f3afa-part4 -> ../../sdb4
    [liveuser@localhost by-id]$

    I see your note here mount --label _____ /mnt/____
    I tried to mount
    [liveuser@localhost by-id]$ sudo mount --label ata-ST2000DM006-2DM164_Z4ZC735M /mnt/RAID5_A
    mount: can't find LABEL="ata-ST2000DM006-2DM164_Z4ZC735M"
    Last edited by themepenguin; 10th February 2019 at 06:03 PM.

  14. #44
    Join Date
    Aug 2007
    Posts
    354
    Linux (Fedora) Firefox 61.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    [liveuser@localhost DataCabinet]$ dmraid -ay
    ERROR: mkdir /var/lock/dmraid
    You need to run this as root with sudo.

    Does this mobo realted url bring any value?:
    It tells us you have an Intel X99 chipset.

  15. #45
    Join Date
    Dec 2018
    Location
    Port CoQuitlam, BC
    Posts
    78
    Linux Firefox 52.0

    Re: dd: error writing '/dev/sdc2': No space left on device

    thanks bro, I went to bed last night, missed your msg

    here is what I got,

    I edited my last answer for sudo dmraid -ay

    Raid controller information:
    intel(r) rapid storage technology - option rom - 13.10.2126
    Attachment 30070
    Attachment 30071

    [liveuser@localhost proc]$ cat mdstat
    Personalities :
    unused devices: <none>
    Last edited by themepenguin; 10th February 2019 at 06:44 PM.

Page 3 of 6 FirstFirst 1 2 3 4 5 ... LastLast

Similar Threads

  1. No Space Left on Device
    By errigour in forum Hardware & Laptops
    Replies: 1
    Last Post: 21st January 2014, 07:22 PM
  2. Systemctl error no space left on device
    By willc0de4food in forum Using Fedora
    Replies: 6
    Last Post: 9th November 2012, 09:02 PM
  3. No Space Left on Device
    By metatron in forum Hardware & Laptops
    Replies: 16
    Last Post: 30th March 2009, 08:17 PM
  4. Replies: 5
    Last Post: 27th October 2008, 06:46 AM
  5. ERROR "No space left on device" using 2 web cams
    By ReneVanLent in forum Using Fedora
    Replies: 0
    Last Post: 11th August 2005, 04:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •