General :: Invalid Size Displayed For SSD?
Dec 11, 2010
I have an 80GB Intel X25-M SSD drive installed on a Linux box running Debian 5.0. The file system on the SSD is ext4. I've had no problems with the drive, and have been using it for quite some time as both swap file storage as well as a place to store a few large database files which require random access.
However, I noticed this odd size readout from ls:
> ls -lh /ssd
total 34G
-rwx------ 1 root root 23G 2010-12-11 18:00 file1.dat
-rwx------ 1 root root 22G 2010-12-11 18:00 file2.dat
I changed the names of the files here for security reasons, but other than that this is exactly what ls has output. Obviously, the total size readout is incorrect.
Here is the corresponding output from df
> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 74G 35G 36G 50% /ssd
Despite this incorrect readout, the drive seems to be working fine, and diagnostic utilities turned up nothing wrong with the drive. Is this some sort of known bug in ext4, or is it more likely there's something physically wrong with the drive?
View 2 Replies
ADVERTISEMENT
Jul 29, 2010
I'm new to Suse and am wondering how to adjust the font size displayed by the terminal command. What I would like to do is make the font larger.
View 3 Replies
View Related
Jun 21, 2010
I have installed squid 2.6,sarge,webmin 1.5,squidguard1.3, dansguardia in a centos 5.4 version.Since I want to implement the password change option using web, i installed changepassword 0.9.Everything was working fine except the changepassword cgi. I can see the interface of change password screen and when i tried to change the password using web, it displayed "user not found or invalid.Please go back and try again." But actually there is a user with that password. My password is stored at /etc/squid/squid_passwd.I have changed the permissions to 777 .But all in vain. Where i can search for the logs?the httpd log is as follows
[Mon Jun 21 22:02:35 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jun 21 22:02:35 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 21 22:02:35 2010] [notice] Digest: done
[Mon Jun 21 22:02:35 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
View 7 Replies
View Related
Apr 24, 2011
So I've been writing a code and I have been adding functions to make life easy, but all of a sudden when i added the last function I got this error *** glibc detected *** /home/ahzeeper/Desktop/C-code/check6: free(): invalid next size (fast): 0x0804c048 ***followed by a huge backtraceNow here is my code
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
[code]...
View 3 Replies
View Related
Mar 25, 2010
Basically, I am running diskwarrior on my mac now to try and fix invalid b-tree node size error. It is my boot drive and therefore cannot get onto the operating system. I have used live linux distros to try and get at the hdd that way, I have installed HFStools and testdisk and tried almost everything possible from within Linux itself to recover this HFS+ drive, but they were all a no go. My last resort was to try diskwarrior and it is rebuilding the drive now, well it has been for about 38 hours now but doesn't give any indication as to how long it will take.
I am pretty sure I am right in thinking data is never truly deleted until it is overwritten, is that right? Even if reformatted, would I be correct in thinking that if I were to format the drive and install linux on my machine, some of the data on the Drive would still be technically recoverable, even though the file system has changed? i.e. from HFS to EXT3. If this is technically possible what software would I need to try and recover files from a drive that has been formatted from HFS+ to EXT3?
It doesn't matter if I cant get it all, or might be more hassle than its worth, my girlfriend has another laptop to use for now and is in no hurry and I like getting to play around with Linux. The data is somewhat important but not enough so to go through the whole sending off the drive and paying hefty fees, it would be very nice to get back and I enjoy working in linux and learning more about software/hardware etc.
View 1 Replies
View Related
Sep 20, 2010
I installed Debian 5.03 Lenny successfully on my machine. I got this error during boot: ACPI : invalid PBLK length [5]. After that the Operating System boots properly and starts normally. What does this error statement mean? Is it safe to work with this installation despite this error?
View 1 Replies
View Related
Feb 10, 2011
Trying simply to insert into table. Have succeeded in doing this but now want to correct user use of invalid characters. If I'm understanding correctly, Real-escape-string seems to correct these, so I've been trying to figure out how to use it. A short, test code version gives me a syntax error at INSERT VALUES, which--because it still has the single quotes in the text--tells me the real-escape-string didn't work. The code below gives me a parseing error with invalid $END at </body>.
Insert Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' VALUES (UTC_TIMESTAMP,'What's happen' bra?')' at line 1 Parse error: syntax error, unexpected $end in /home/powere15/public_html/DB/exercises_insert_record.php on line 94
<html><head><title>Exercise Catalog Insert Record</title></head>
<body>
<?
/* Change db and connect values if using online */
[Code]....
View 2 Replies
View Related
Jul 19, 2011
I wrote a test program for learning usage of realloc() and I thin I did everything right but I get this error exactly with my 4th time that while tries to reallocate memory in MakeDSt function for DSt->SArray:
Quote:
realloc(): invalid next size
this is my complete code :
Code:
#include <stdio.h>
#include <stdlib.h>
typedef struct DRA
{
code....
View 2 Replies
View Related
Jan 12, 2010
i'm not able to play music at all. videos videos seem to crash my browser and using either rhythmbox or banshee they crash too.i ran rhythmbox by typing sudo rhythmbox and tried to play a file and it displayed a pop-up window saying that my autioaudiosink element is missing and the terminal displayed this:
code: (rhythmbox:8415): rhythmbox-warning **: unable to grab media player keys: could not get owner of name 'org.gnome.settingsdaemon': no such name
warning: unhandled message: interface=org.freedesktop.dbus.introspectable, path=/, member=introspect
[code]....
View 1 Replies
View Related
Apr 15, 2011
How to parse the bunch of values displayed by the socket program into the php file so that further it can be displayed in HTML page
View 1 Replies
View Related
May 24, 2010
Im having issues to connecting to my network and it continues to not connect and keeps saying that webpage cannot be displayed....i have other computers here that connect just find....i was wondering is there a command like ipconfig or something
View 1 Replies
View Related
Jan 6, 2011
The following are the output of command "ifconfig -a":
[Code]....
The interface "eth0", which is down, was not displayed, but loopback interface has been displayed. So, how can I make my application display all interfaces, including the interfaces which are down, but excluding the loopback interface?
View 4 Replies
View Related
Jul 13, 2011
Is there a way to get Linux to log all of the output that you see on the screen at boot?
It would sure beat having to dig through all of the different log files trying to find what was seen while it was booting.
View 14 Replies
View Related
Dec 16, 2010
I had a dual boot system with ubuntu and windows running fine, while using ububtu grub loader.
Now i installed red hat on the same computer and mentioned to install grub in the first boot partition sector.
Now while starting the the computer i see only the previous options to boot into eithre windows or ubuntu.
I dont see any option for red hat.
modify the ubuntu loader to read grub
View 1 Replies
View Related
Jul 19, 2011
I have installed squid proxy server on cent os 5.5 the problem i am facing is with some websitesthis issue arose suddenly the issue is when i access certain sites then i get page cannot be displayed but when i refresh it it displays the page. again when i close the browser and start again same issue. What could be the reason how can i solve it
View 1 Replies
View Related
Apr 26, 2011
I'm programming an web system using LAMP, currently I'm using Ubuntu 10.04, so, when I load the index page the background image is not displayed, it looks like a permission file issue - I guess-, so currently all images have this permissions:
Code:
-rw-r--r--
and the permissions for the php files are:
Code:
-rwxr-xr-x
what permissions should I set to display the background image?
View 1 Replies
View Related
Dec 10, 2010
Having problems displaying French chars. They are dumped into an nfs share by a Windows/cifs configuration which has been blamed for this unwanted behavior but when I transfer a file continaing � via WinSCP to the RedHat, instead of getting the filename Response.txt I see R?sponse.txt. When I refresh WinSCP to view the file it views it ok.
[Code].....
View 1 Replies
View Related
May 7, 2010
I have linux firefox installed on my notebook, and after having a bit of a problem with it, I did a full factory reset back to all the original settings. Now when I connect to the internet, some of the pages now are not displayed properly. For instance, when visiting E-bay, the listings look fine, but my E-bay page is all listed down the page, (if that makes sense) and I cannot look at any of the photos. MSN is also, how can I put this, spread out across the page. I have done a live update to see if that makes a difference, but no joy.
View 9 Replies
View Related
Feb 15, 2011
I vaguely remember that there is a way to store instructions for vim in my file (like tabstop width etc). I'm not speaking of settings in vimrc but of storing those settings with in the file to be edited. That way the tabstop has always the right width even if I transfer this file to another computer. However, I can't remember what the magic word is so that vim picks up those settings when loading the file.
View 1 Replies
View Related
May 17, 2011
Got 3 computers connected by ethernet to a router modem. At this router modem only port 80 is forwarded to a web server (one of the 3 computers). Now I realized several times a port scanning attack displayed at interactive firewall of Webserver ( Apache at Mandriva LINUX ). Actually the message is port scanning attempt of heanet (actually this names are different mostly). I wonder how to figure out is this portscanning attack possible through port 80 or is the modemrouter (Draytek VIGOR) misconfigured, compromised or one of the other 2 machines (Windows) are compromised and attacking the server inside intranet?
View 2 Replies
View Related
Aug 12, 2010
Is there a command line option that will allow less to return to the command line if there are not sufficient lines in the file to warrant paging.
View 1 Replies
View Related
Jun 30, 2011
I have a requirement related to the apache access log file format: When a user access my local site, http authentication will be displayed:
Code: username: saagar password: 123 I wish to have the LogFormat in the configuration file in such a way that the username and password (saagar/123 in this case) will be logged in the /var/log/apache2/mysite_access_log file. I used the %u parameter as follows: Code: LogFormat "%h %u "%r" %>s %b" common CustomLog /var/log/apache2/mydreamhome_access.log common and it works, similarly I wish the password too to be displayed in the access_log file.
View 10 Replies
View Related
Apr 18, 2011
I have an xml file that is similar to this.Suppose that this file name is Example.
<PMID>10605436</PMID>
<Year>2000</Year>
<ArticleTitle>Steroids</ArticleTitle>
[code]...
View 5 Replies
View Related
Aug 16, 2011
Bottom Line: Dvd Drive died in my toshiba laptop and it was replaced (not before tech for some reason reformatted the Win7 partition... which was 100% un-needed, but thats beside the point now. I redid win7 (the tech installed vista) and am TRYING to "redo grub". Facts: The Slackware AND Ubuntu Partitions ARE STILL THERE and when i use SuperGrub Boot CD (which doesn't restore my grub by itself) to boot into slackware, i can see ALL THE CONTENT of both Linuxes still there including grub on ubuntu partition
(Tri-Boot: Ubuntu, Slackware, and WIn7) I had it working for two years or so, SO i know this "setup" works fine. I am A) Trying to do this as simply as possible. B) Trying to avoid the need to download a 800MB ISO (as seen for this issue on this forum) and trying not to have to reformat Ubuntu Partition (though I have the .Debs I have downloaded for it backed up ... all 1.7GB of them) I have /dev/sda1 as win7, /dev/sda2 as Slack and /dev/sda3 as Ubuntu (which contains Grub Legacy).. Every command I do seems to result in an error like "invalid command" or "invalid Execution format " (i think that second one is right) type errors. I compiled (awhile back) a few kernels for Slackware, but feel goofy that I cant figure what i this out (what i thought was going to be a "2 minute" fix)
View 4 Replies
View Related
Sep 12, 2010
why 12/01/1965 is an invalid date ? It is a bug on date ?
Code:
miguel@quadbit:~$ date -d "12/01/1964"
Ter Dez 1 00:00:00 BRT 1964
miguel@quadbit:~$ date -d "12/01/1965"
date: invalid date `12/01/1965'
[Code].....
View 1 Replies
View Related
Apr 29, 2011
What is wrong with the following ldif file :
Code:
dn: dc=mydomain
objectclass: dcObject
objectclass: organization
o: My Ldap
dc: mydomain
dn: cn=Manager,dc=mydomain
objectclass: organizationalRole
cn: Manager
Because I get following output :
Code:
[root@1 ~]# /usr/bin/ldapadd -x -D "cn=Manager,dc=mydomain" -W -f /etc/openldap/basic.ldif
Enter LDAP Password:
adding new entry "dc=mydomain"
ldapadd: Invalid syntax (21)
additional info: objectclass: value #0 invalid per syntax
View 1 Replies
View Related
Sep 9, 2009
when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.
View 6 Replies
View Related
Jun 29, 2010
i am having a problem concern zlib installation.i tried configure file successfully but make file displayed some errors.that usr/linux/limits.h not found.so i found that i have to install glibc-headers-devel...but there is no such a kind of package in ubuntu repository?/????/some people saying that libc6-devel is equal to them!
View 1 Replies
View Related
Aug 12, 2010
How to unmount a filesystem in Linux without investigating why is it busy? I want to do it in one command. It should handle applications using that filesystem, submounts, containers (lxc-execute -n qqq <command>) and all other things.
Just "unmount. No objections!". Special kernel patches or configuration is allowed. Filesystem should be really unmounted, so umount -l is certainly not an option. For example, for cryptsetup remove (BTW how to forcibly cryptsetup remove? Update: cryptsetup luksSuspend, but you won't be able to cryptsetup luksResume if it is not LUKS). How to make all filehandles on that filesystem invalid?
The only reliable way I know is mounting the filesystem through the FUSE (there is usually no problem to unmount FUSE thing because of I can just kill it's process). P.S. Already know mount fuser, lsof | grep, cat /proc/*/mounts | grep and obsolete non-working "badfs patch".
View 3 Replies
View Related
Apr 10, 2011
when I got following some information using fdisk -l,there were some invalid information about system name.I installed file system reiserfs, xfs on sdb6, sdb7.but the system didn't recognizes disk's file system name.
View 1 Replies
View Related