LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mdadm array: there is not enough space on the disk (https://www.linuxquestions.org/questions/linux-server-73/mdadm-array-there-is-not-enough-space-on-the-disk-4175491193/)

4xjbh 01-13-2014 10:45 PM

mdadm array: there is not enough space on the disk
 
Ubuntu Server 12.04.3 LTS 64bit.

I have this array of approx 6TB (ext4, 3x3TB disks) and I am getting a disk space error. I only have a total of 800GB to copy to the shares I have created.

I am using robocopy to copy this data from a windows domain server, the error message is similar for each of the files, see error below. I then tried mounting a cifs share and copy the files to the array as root using rsync and all worked ok until I got another error msg, refer below. df still reports 5.2tb free. rsync was able to copy about 25gb before the error message occurred.

Any ideas why this might be happening?

Thanks in advance, James

Quote:

robocopy error msg:
New File 107464 DSC00095.JPG 2014/01/14 09:52:22 ERROR 112 (0x00000070) Creating Destination Directory
\\server-storage1\data-archive\2003\030907\08 Photos\ There is not enough space on the disk.
Quote:


/dev/md0:
Version : 1.2
Creation Time : Fri Jan 10 16:47:14 2014
Raid Level : raid5
Array Size : 5860267648 (5588.79 GiB 6000.91 GB)
Used Dev Size : 2930133824 (2794.39 GiB 3000.46 GB)
Raid Devices : 3
Total Devices : 3
Persistence : Superblock is persistent

Update Time : Tue Jan 14 11:30:23 2014
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 64K

Name : server-bne-storage1:0
UUID : 5474ef82:8beeded5:c2aaae98:d968bc74
Events : 90767

Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
3 8 49 2 active sync /dev/sdd1

Quote:


mount disk stats:
/dev/md0 5.5T 58M 5.2T 1% /srv/samba/storage1
Quote:

rsync error msg:
1994/940396/396W-J05.DWG 695457 100% 2.71MB/s 0:00:00 (xfer#899, to-check=1011/2060) 1994/940396/396W-P01.DWG 32768 1% 104.23kB/s 0:00:23
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on "/srv/samba/data-archive/1994/940396/396W-P01.DWG": No space left on device (28)
rsync: connection unexpectedly closed (17154 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Quotas are not enabled (checked fstab)

wildwizard 01-14-2014 02:22 AM

Your mount point and the path you're copying to are different.

Quote:

/dev/md0 5.5T 58M 5.2T 1% /srv/samba/storage1
rsync: write failed on "/srv/samba/data-archive/1994/940396/396W-P01.DWG": No space left on device (28)

4xjbh 01-14-2014 05:45 PM

You are 100% correct. Thank you very much, silly of me not to notice.

James


All times are GMT -5. The time now is 03:46 PM.