LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-11-2007, 12:52 AM   #1
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Rep: Reputation: 31
Angry My FAT 32 hdb1 drive shows full in SuSE10.2


Hi everybody,

I have posted the same thread sometimes ago here, but received no answer/s yet. The problem is that my 40GB HDD drive Maxtor shows here in SuSE as 96% full, while in reality it is only 30% full (in Windows - I have dual boot with Vista now - it shows 30% occupied). I am using this disk for saving my files from SuSE and Windows. When checking disk in SuSE it shows that disk has the capacity of 13GB only and that is exactly the capacity of the OCCUPIED place. What is free it does not show.The most annoying thing is that I cant save a file (from SuSE only) which is bigger than 4% of its "virtual" capacity I should say. I have tried everything , but I am not "smart" enough to solve this alone. So ???? and thanks for the help.
 
Old 01-11-2007, 12:59 AM   #2
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
How are you checking the drive capacity??
 
Old 01-11-2007, 04:12 AM   #3
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
I open my HOME in SuSE then I go to the bottom (in left pane) where is my windows
folder, I open it, click on D: with the right mouse button and then I check the Properties. It then calculates the space and, bingo, there is the result:

Folder /windows
size + 10,5 GB
mounted on /windows/D
free disk space 1,3 GB out of +37,3 GB (97% used)

but it should be the opposite 97% unused !!!!
 
Old 01-11-2007, 10:31 AM   #4
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
Open a terminal and type 'df -h' and see what it says.
 
Old 01-11-2007, 10:36 AM   #5
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
here is : fdisk .l and df -h:

riba43:/home/bgorjup # fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Enote = cylinders od 16065 x 512 = 8225280 bajtov

Naprava Boot Start End Blocks Id System
/dev/hda1 * 1 3648 29302528+ 7 HPFS/NTFS
/dev/hda2 3649 9729 48845632+ f W95 Ext'd (LBA)
/dev/hda5 3649 3744 771088+ 82 Linux swap / Solaris
/dev/hda6 3745 6144 19277968+ 83 Linux
/dev/hda7 6145 9729 28796481 83 Linux

Disk /dev/hdb: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Enote = cylinders od 16065 x 512 = 8225280 bajtov

Naprava Boot Start End Blocks Id System
/dev/hdb1 * 1 4866 39086113+ c W95 FAT32 (LBA)

Disk /dev/sda: 873 MB, 873463808 bajtov
16 heads, 32 sectors/track, 3332 cylinders
Enote = cylinders od 512 x 512 = 262144 bajtov

Naprava Boot Start End Blocks Id System
/dev/sda1 * 1 3332 852976 6 FAT16
riba43:/home/bgorjup # df -h
Dat. sist. Vel. Upor Prost Upo% Priklopljeno na
/dev/hda6 19G 4,7G 13G 27% /
udev 218M 132K 218M 1% /dev
/dev/hda7 28G 1008M 25G 4% /home
/dev/hda1 28G 19G 9,5G 67% /windows/C
/dev/hdb1 38G 37G 1,3G 97% /windows/D
/dev/hdd 3,7G 3,7G 0 100% /media/SU1020.001
/dev/sda1 833M 498M 336M 60% /media/PublicZone
riba43:/home/bgorjup #

You can see that "df -h" shows that I have used 37G of 38G, but that is not so. My files are ca 1,3G on that disk,

Last edited by riba43; 01-11-2007 at 10:39 AM.
 
Old 01-12-2007, 12:48 AM   #6
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
I would tend to think that Windows doesn't 'see' the Linux files on the drive therefore showing space available. Obviously, using df shows the full disk size so I would think the drive is full. You could use 'du' to see what the file sizes are, but it would take a fair amount of time for that size.
 
Old 01-12-2007, 01:35 AM   #7
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Well, I dont know what to think. That happened some month ago, when I was running SuSE 10.1. After that, I reinstalled the complete system (including Windows) at least four times. Last time I even formatted my hda, resized the partitions (not disk D), and everything is the same. I tried many tools from windows, defragmented it and what is more, I can copy a whole DVD on that disk from windows.And I know how many files I have there.If there are some Linux files there, what are this files, where are they coming from?? How can I see them ?? How to remove them ??? so there are many questions to be solved. How??

Last edited by riba43; 01-12-2007 at 01:42 AM.
 
Old 01-14-2007, 01:17 AM   #8
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
Have you mounted hdb and did ls to see what's on it?
 
Old 01-14-2007, 02:05 AM   #9
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Well, I can see from SuSE all my files on the drive, I can read/write on that drive. The only problem is tha capacity of the drive as seen from SuSE.
 
Old 01-17-2007, 12:50 AM   #10
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Hi leandean,

i have beem busy last days. Now I am back. Here is fstab and mtab entry:

/dev/hda6 / ext3 acl,user_xattr 1 1
/dev/hda7 /home ext3 acl,user_xattr 1 2
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0



/dev/hda6 / ext3 rw,acl,user_xattr 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/hda7 /home ext3 rw,acl,user_xattr 0 0
/dev/hda1 /windows/C ntfs ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8 0 0
/dev/hdb1 /windows/D vfat rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true 0 0
securityfs /sys/kernel/security securityfs rw 0 0
/dev/sda1 /media/PublicZone vfat rw,nosuid,nodev,noatime,uid=1000,utf8,shortname=lower 0 0
 
Old 01-17-2007, 09:06 AM   #11
porzech
Member
 
Registered: Jan 2007
Distribution: Suse, Ubuntu
Posts: 31

Rep: Reputation: 15
i would suggest running chkdsk d: /f from windows commandline (if its drive d: in windows) couse it seems to me that your filesystem is somehow corrupted
 
Old 01-17-2007, 09:21 AM   #12
cueman
Member
 
Registered: Oct 2006
Location: Scottsdale, Arizona
Distribution: openSUSE 10.2
Posts: 197

Rep: Reputation: 30
Quote:
Originally Posted by porzech
i would suggest running chkdsk d: /f from windows commandline (if its drive d: in windows) couse it seems to me that your filesystem is somehow corrupted
I doubt it, the person said they did 4 separate installs and had the same result. I think it is something with vista, and not linux. Did you have this problem before vista, say dual booting with XP and suse?
 
Old 01-17-2007, 09:44 AM   #13
porzech
Member
 
Registered: Jan 2007
Distribution: Suse, Ubuntu
Posts: 31

Rep: Reputation: 15
yes but the affected partition is not affected by reinstalling of windows nor linux and as far as i know windows setup checks only boot partition for errors during install so tehre might be some hidden error on fat32 partition i.e. free space written in botsector might be different from actual free space. If i remember right windows calculates it on the fly and does not check if this info is correct and linux might rely on it (there might be some fat inconsistency too i.e. between firs and second fat copy but its less probable) anyway running chkdsk should do no harm so its worth trying
 
Old 01-17-2007, 09:54 AM   #14
cueman
Member
 
Registered: Oct 2006
Location: Scottsdale, Arizona
Distribution: openSUSE 10.2
Posts: 197

Rep: Reputation: 30
Oh absolutely, I wasn't saying it wasn't worth a try. It seems there have been problems with dual booting Vista, of which I have no experience. Unless someone were to give me a copy, I never will either
 
Old 01-18-2007, 02:26 AM   #15
riba43
Member
 
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 749

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by porzech
yes but the affected partition is not affected by reinstalling of windows nor linux and as far as i know windows setup checks only boot partition for errors during install so tehre might be some hidden error on fat32 partition i.e. free space written in botsector might be different from actual free space. If i remember right windows calculates it on the fly and does not check if this info is correct and linux might rely on it (there might be some fat inconsistency too i.e. between firs and second fat copy but its less probable) anyway running chkdsk should do no harm so its worth trying
Hi guys,

As I said, the HDB1 is a separate Maxtor HDD of 40GB. I checked it with all possible tools (Diskeeper 10 pro, The original Maxtor tools etc)and the result was the same all the time.Well I know the size of my files on that disk too. I can say that disk is NOT full. That happened before I installed Vista with Win XP Pro and SuSE10.1. That was all of the sudden , yesterday the disk was empty (well almost) and the next day when I tried to copy a file the size of 1CD, I could not. It says disk is full. And since then it is so. I cleaned it, Deleted everything I can and now i have 4% of it free (according to SuSE). So, I can only copy some small files from SuSE on to it. From Windows I can copy 5 DVDs if I want. I really want to know what is the reason for that.
But SuSE shows the right size of the other drive hda1 (NTFS partition C How come??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why win98 shows the full capacity of drive in part of which i installed linux? sonisumit84 SUSE / openSUSE 3 01-19-2007 10:19 AM
df shows disk almost full, can't see why mhath Linux - General 6 12-14-2005 08:55 PM
hda1 is full, can i add hdb1 at the end? DropSig Linux - General 5 09-18-2005 08:45 PM
partition shows full when not eroica Linux - Software 2 02-03-2005 09:01 AM
Used dd now, then reformatted drive - still shows 80% full! bluehz Linux - Hardware 3 03-15-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration