Find the answer to your Linux question:
Results 1 to 9 of 9
Error creating directory: No space left on device Nonsense - there is more than enough space. Am backing up my home folder's files onto my SAMSUNG ext HDD (NTFS format) ...
  1. #1
    Linux Newbie
    Join Date
    May 2010
    Posts
    125

    Ubuntu is fibbing about not enough space on storage device

    Error creating directory: No space left on device
    Nonsense - there is more than enough space.

    Am backing up my home folder's files onto my SAMSUNG ext HDD (NTFS format) which has 182G left. My home folder is much smaller than that. What could be the problem?
    Last edited by lindsey; 03-19-2011 at 11:07 AM.

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    A couple of questions for you:

    How are you doing the backup?
    Can you post the output of the following command (with the Samsung plugged in)

    Code:
    sudo /sbin/fdisk -l
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  3. #3
    Linux Newbie
    Join Date
    May 2010
    Posts
    125
    Quote Originally Posted by elija View Post
    A couple of questions for you:

    How are you doing the backup?
    Can you post the output of the following command (with the Samsung plugged in)

    Code:
    sudo /sbin/fdisk -l
    Manually - just by copying directories of importance and their contents onto my ext HDD.

    Code:
    peter@peter-ubuntu:/media$ sudo /sbin/fdisk -l
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xd21cd21c
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1       66046   530508440+   7  HPFS/NTFS
    /dev/sda2           66046      121602   446253057    5  Extended
    /dev/sda5           66046       94882   231630865   83  Linux
    /dev/sda6          120781      121602     6589440   82  Linux swap / Solaris
    /dev/sda7   *       94883      119960   201434112   83  Linux
    /dev/sda8          119960      120780     6589440   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xb19cf899
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       60801   488384000+   7  HPFS/NTFS
    See what I mean: plenty of space!
    Code:
    peter@peter-ubuntu:/media$ sudo df -h
    Filesystem            Size Used Avail Use% Mounted on
    /dev/sda5             218G   27G  180G  14% /
    none                  2.0G  376K  2.0G   1% /dev
    none                  2.0G  736K  2.0G   1% /dev/shm
    none                  2.0G  296K  2.0G   1% /var/run
    none                  2.0G     0  2.0G   0% /var/lock
    none                  2.0G     0  2.0G   0% /lib/init/rw
    /dev/sdb1             466G  285G  182G  61% /media/SAMSUNG
    /dev/sr0              643M  643M     0 100% /media/Debian 6.0.0 i386 1

  4. #4
    Linux Newbie zenwalker's Avatar
    Join Date
    Feb 2010
    Location
    Inland Pacific NW
    Posts
    175
    Suggest placing Linux on the 500 gigger (sdb) and using the 1TB hard drive only for Windows NT File System
    Do a low-level format on sdb, first eliminating NTFS from it (i.e. don't contaminate a GNU/Linux installation with a foreign file system, especially NTFS!) -- use ext2 and format the entire drive as a single partition first.
    Then, eliminate the extended partiton off the 1TB drive
    Next, partition sdb with gparted, doing root (/) and /home as ext4 (make sure to check the "Boot" flag on root then refresh, later) first -- there will be no lack of suggestions from others here if you don't know how!
    Et cetera

    Also suggest not crossing the drives on your Linux install until you are sure of what is being done.

    I'm done here -- sorry to jump in, elija, but couldn't help myself (lol!).

  5. #5
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    No worries but if I'm not mistaken, sdb is being used as a backup drive

    Anyway, I've been having a Google and have found this thread from the Ubuntu forums. It's quite(!) old but may still be relevant, in particular the last post. I've no idea if it will help in this situation as I have no ntfs drives
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  6. #6
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    It does seem odd. Maybe (I'm not familiar with the structure
    of NTFS) it's not space that's lacking but some other
    resource. Do you already have a very great number of
    small files on this drive?

    Is your system dual boot? Boot into Windows and see if it
    also reports the same problem with the drive.

  7. #7
    Linux Newbie
    Join Date
    May 2010
    Posts
    125
    Quote Originally Posted by rcgreen View Post
    It does seem odd. Maybe (I'm not familiar with the structure
    of NTFS) it's not space that's lacking but some other
    resource. Do you already have a very great number of
    small files on this drive?

    Is your system dual boot? Boot into Windows and see if it
    also reports the same problem with the drive.
    Yes, there are many files.

    Yes it is dual boot. But because I am backing up Linux files, I will not have access to them while in Windows, will I...?

    Quote Originally Posted by elija View Post
    No worries but if I'm not mistaken, sdb is being used as a backup drive

    Anyway, I've been having a Google and have found this thread from the Ubuntu forums. It's quite(!) old but may still be relevant, in particular the last post. I've no idea if it will help in this situation as I have no ntfs drives
    Yes, the Samsung ext HDD listed.

    I had a related issue once. After reformatting FAT32 to become NTFS, there was no upper limit on file size for copying purposes. But my backup destination, the Samsung HDD is obviously in NTFS format now, so that's not the issue this time.

    I have to have a closer look at that old thread but I'm afraid a superficial lookover isn't immediately revelational...


    Quote Originally Posted by zenwalker View Post
    Suggest placing Linux on the 500 gigger (sdb) and using the 1TB hard drive only for Windows NT File System
    Do a low-level format on sdb, first eliminating NTFS from it (i.e. don't contaminate a GNU/Linux installation with a foreign file system, especially NTFS!) -- use ext2 and format the entire drive as a single partition first.
    Then, eliminate the extended partiton off the 1TB drive
    Next, partition sdb with gparted, doing root (/) and /home as ext4 (make sure to check the "Boot" flag on root then refresh, later) first -- there will be no lack of suggestions from others here if you don't know how!
    Et cetera

    Also suggest not crossing the drives on your Linux install until you are sure of what is being done.

    I'm done here -- sorry to jump in, elija, but couldn't help myself (lol!).
    I can't format anything until I've backed up my files first - catch 22!

  8. #8
    Linux Newbie zenwalker's Avatar
    Join Date
    Feb 2010
    Location
    Inland Pacific NW
    Posts
    175

    afterthought

    Think I'd backup using Clonezilla and place image (xxxxx-xxx-img) on at least a 2GB USB stick and proceed with getting rid of ntfs.

    [afterthought: also, MEPIS has a ntfs partition tool of some sort that may help]

    Best wishes!

  9. #9
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    Yes it is dual boot. But because I am backing up Linux files, I will not have access to them while in Windows, will I...?
    It shouldn't matter what type of files you have stored there.
    Since NTFS is the native file system for Windows, it should
    be able to examine the drive. You should be able to run chkdsk
    on it to check the condition of the file system.

Posting Permissions

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