Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Java Lounge
  4. CentOS 5.0 Question

CentOS 5.0 Question

Scheduled Pinned Locked Moved The Java Lounge
linuxsysadminquestioncomsales
14 Posts 4 Posters 19 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    CentOS 5.0 is basically a recompile of Red Hat Enterprise 5 with all the copyrighted stuff removed. I have a customer with a basic little CentOS 5.0 server, which is basically their very old desktop system (Pentium 4 1.7GHz 40GB HDD). We have upgraded the RAM to 1GB, used the 40GB HDD to install CentOS and added a 400GB HDD for them to store data. The 400GB drive has been shared via SAMBA for them to connect too and backup their data to it. Connected to the server is an external USB 2.0 Western Digital 500GB HDD which has the data from the 400GB HDD synchronised to using rsync in a shell script via cron. All has been working well for the past 7 months or so. This week they find they cannot connect to the network drive from Windows XP. I go on site and discover that the 40GB HDD is absoluteely full according to df -h. When I go into every subdirectory 1 level below the / directory and run df -hc I can only account for about 5GB tops. I run fsck /dev/hda2 and after warning me about the filesystem being mounted doesn't to much and claims all is good. I then run shutdown -r -F now and it checks the filesystem at boot up but once again it shows the HDD is full. I can't even look at man pages cause there is no free space to format the pages on. Does anyone have any idea what could be making Linux think it has a full filesystem when it doesn't? Or could it be that the filesystem is full but I can't see the files in question?

    Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #2

    Turns out that the server had been booted with the external USB HDD turned off. This meant that it wasn't mapped at boot time to /data on /dev/hda2. Then when cron ran the backup script, rsync just wrote the data to /data until the HDD was full. Couldn't see this when I was onsite since the externa; USB HDD was connected and I thought it was being read from.

    Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

    J 1 Reply Last reply
    0
    • L Lost User

      Turns out that the server had been booted with the external USB HDD turned off. This meant that it wasn't mapped at boot time to /data on /dev/hda2. Then when cron ran the backup script, rsync just wrote the data to /data until the HDD was full. Couldn't see this when I was onsite since the externa; USB HDD was connected and I thought it was being read from.

      Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #3

      Um, I guess better late than never. ;P

      Jeremy Falcon Oatmeal Engine[^]

      1 Reply Last reply
      0
      • L Lost User

        CentOS 5.0 is basically a recompile of Red Hat Enterprise 5 with all the copyrighted stuff removed. I have a customer with a basic little CentOS 5.0 server, which is basically their very old desktop system (Pentium 4 1.7GHz 40GB HDD). We have upgraded the RAM to 1GB, used the 40GB HDD to install CentOS and added a 400GB HDD for them to store data. The 400GB drive has been shared via SAMBA for them to connect too and backup their data to it. Connected to the server is an external USB 2.0 Western Digital 500GB HDD which has the data from the 400GB HDD synchronised to using rsync in a shell script via cron. All has been working well for the past 7 months or so. This week they find they cannot connect to the network drive from Windows XP. I go on site and discover that the 40GB HDD is absoluteely full according to df -h. When I go into every subdirectory 1 level below the / directory and run df -hc I can only account for about 5GB tops. I run fsck /dev/hda2 and after warning me about the filesystem being mounted doesn't to much and claims all is good. I then run shutdown -r -F now and it checks the filesystem at boot up but once again it shows the HDD is full. I can't even look at man pages cause there is no free space to format the pages on. Does anyone have any idea what could be making Linux think it has a full filesystem when it doesn't? Or could it be that the filesystem is full but I can't see the files in question?

        Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

        B Offline
        B Offline
        Bradml
        wrote on last edited by
        #4

        You're problem is obviously to do with your own incompetance. Buy a damn book rtard!


        Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

        L L J 4 Replies Last reply
        0
        • B Bradml

          You're problem is obviously to do with your own incompetance. Buy a damn book rtard!


          Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #5

          Bradml wrote:

          You're problem is obviously to do with your own incompetance. Buy a damn book rtard!

          How the fuck was a book going to help in this situation knobhead? It required sitting in front of the machine and finding what was filling up the HDD. A book wasn't going to cover missing external drives not being mounted to their directory.

          Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

          B 1 Reply Last reply
          0
          • L Lost User

            Bradml wrote:

            You're problem is obviously to do with your own incompetance. Buy a damn book rtard!

            How the fuck was a book going to help in this situation knobhead? It required sitting in front of the machine and finding what was filling up the HDD. A book wasn't going to cover missing external drives not being mounted to their directory.

            Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

            B Offline
            B Offline
            Bradml
            wrote on last edited by
            #6

            Maybe if you weren't so busy wasting all of our time with your beginners questions you would see how the two relate,


            Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

            1 Reply Last reply
            0
            • B Bradml

              You're problem is obviously to do with your own incompetance. Buy a damn book rtard!


              Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

              L Offline
              L Offline
              l a u r e n
              wrote on last edited by
              #7

              wow you really are a hard-ass no? :~

              "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

              B J 2 Replies Last reply
              0
              • L l a u r e n

                wow you really are a hard-ass no? :~

                "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                B Offline
                B Offline
                Bradml
                wrote on last edited by
                #8

                That was possibly a joke on my behalf.


                Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                L 1 Reply Last reply
                0
                • B Bradml

                  That was possibly a joke on my behalf.


                  Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #9

                  Bradml wrote:

                  That was possibly a joke on my behalf.

                  And completely missed by me then.

                  Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                  1 Reply Last reply
                  0
                  • L l a u r e n

                    wow you really are a hard-ass no? :~

                    "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #10

                    l a u r e n wrote:

                    wow you really are a hard-ass no?

                    That's his idea of humor. :-D

                    Jeremy Falcon Oatmeal Engine[^]

                    1 Reply Last reply
                    0
                    • B Bradml

                      You're problem is obviously to do with your own incompetance. Buy a damn book rtard!


                      Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                      J Offline
                      J Offline
                      Jeremy Falcon
                      wrote on last edited by
                      #11

                      Bradml wrote:

                      Buy a damn book rtard!

                      I think "rtard" should be optimized to just "tard" as it'll convey the same message and yet save a byte. Performance, performance, performance!

                      Jeremy Falcon Oatmeal Engine[^]

                      B 1 Reply Last reply
                      0
                      • J Jeremy Falcon

                        Bradml wrote:

                        Buy a damn book rtard!

                        I think "rtard" should be optimized to just "tard" as it'll convey the same message and yet save a byte. Performance, performance, performance!

                        Jeremy Falcon Oatmeal Engine[^]

                        B Offline
                        B Offline
                        Bradml
                        wrote on last edited by
                        #12

                        You will find that if I removed the "r" operator there then I would have to include a "include South_Park_Reference" flag which would just further confuse older compilers. The better ones all pick up on the "r" operator and use it to greatly improve output, the lesser compilers simply ignore it.


                        Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                        1 Reply Last reply
                        0
                        • B Bradml

                          You're problem is obviously to do with your own incompetance. Buy a damn book rtard!


                          Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #13

                          That was not called for.

                          Visit http://www.notreadytogiveup.com/[^] and do something special today.

                          B 1 Reply Last reply
                          0
                          • L Lost User

                            That was not called for.

                            Visit http://www.notreadytogiveup.com/[^] and do something special today.

                            B Offline
                            B Offline
                            Bradml
                            wrote on last edited by
                            #14

                            Twas a joke too...


                            Brad Australian The PHP MVP - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups