Debian :: Disk Setup - Df And Fdisk Reports Different

Dec 9, 2010

I´m pretty new to linux and debian and I have a problem with my disk setup. I have a rocketRAID hardware card installed for RAID setup. In addition I have a separate HDD for linux and use the RAID-setup for server purposes. Now, when I boot the system, grub boots /dev/sda1. This does not work and I have to change to /dev/sdb1 for it to find the system files. (although sometimes it works, but in these cases the system does not find the RAID-disks. That´s for another time thou).

The strange thing about this, to me in any case, is that "fdisk" reports correctly, with sda and sdb but "df" reports all disks as sda and none as sdb. It also misses a partition of the RAID-disks which fdisk reports. here´s a screengrab from "fdisk -l" and "df -h"

[Code]...

View 2 Replies


ADVERTISEMENT

OpenSUSE Install :: DF Reports Completely Different Sizes From FDisk

Sep 13, 2011

Opensuse Linux (Linux sr-server 2.6.37.6-0.7-default #1 SMP 2011-07-21 02:17:24 +0200 i686 athlon i386 GNU/Linux). I have a very unusual problem where fdisk reports one size BUT df reports a TOTALLY different and unexpected size. Besides doing a full backup, repartition, reformat and restore, is there anything else I can try first??

Here are the outputs: (sda1 and sda2 sizes are completely different from fdisk!!)
df -v -h
Filesystem Size Used Avail Use% Mounted on
rootfs 22G 17G 4.2G 81% /
devtmpfs 369M 152K 368M 1% /dev
tmpfs 375M 648K 374M 1% /dev/shm
/dev/sda2 22G 17G 4.2G 81% /
/dev/sda1 15G 7.8G 6.6G 54% /windows/C

FDISK reports correctly (sda1, sda2, sda3 = 24Gb, 949Gb, 3.1gb) .....

View 1 Replies View Related

Debian :: Tool For Squid Reports (not SARG) - Generate Less Amount Of Files - Optimal Is To Save Reports To The Database

May 9, 2011

I got the following task from my boss. I have to find out if there is some alternative tool for create reports from Squid except SARG. Now, we use SARG, but my boss told to me, that the main problem of SARG is, that SARG generate huge amount files, which cause problems during migration our servers. He told to me the following condition for change of current tool (SARG):

* standard package of Debian
* generate less amount of files, optimal is to save reports to the database

So I would like to ask you if you know about some tool (I can not find some by google)... and the best would be if you told to me some practical experiences.

View 1 Replies View Related

Ubuntu :: Reports Low Disk Space - Gparted Doesn't?

Jul 24, 2010

Total Newbie running Win 7, Lucid Lynx 64-bit, sharing partitionUbuntu keeps reporting low disk space. I've read dozens of postings, looked at gparted and done some resizing but it's still not right. Had to remove everything I could last night to free up space.Disk utility shows I have an 18 GB root.disk, gparted shows partition has 204 GB available.The space is there in the partition how do I get root size to increase?

View 9 Replies View Related

Ubuntu :: Lost A Reiser Formatted Disk It Is Not Visible Not With Df Or Fdisk?

Jan 5, 2010

within the last 24 hours I have lost a reiser formatted disk. It is not visible not with df or fdisk.Which tools do you normally use in a situation like that.

Disk /dev/sda: 40.0 Gb, 40020664320 byte
255 heads, 63 sectors/track, 4865 cylinders
Units = cylindre of 16065 * 512 = 8225280 bytes

[code]....

View 5 Replies View Related

General :: Fdisk / Change The Disk Label Of /dev/sda5 To /dev/sda6?

Mar 26, 2010

I have used fdisk to create two new partition.

Before this partition, I had 6 partition of which /dev/sda6 was the boot partition. I deleted /dev/sda5 partition and hence the earleir /dev/sda6 became /dev/sda5. Now I created two new partitions /dev/sda6 and /dev/sda7.

Due to this change in device label of /dev/sda6 I am not able to boot my computer.

Is there any method to change the disk label of /dev/sda5 to /dev/sda6 ?????

View 14 Replies View Related

Server :: Motherboard Embeded RIAD1 - Two Disk In Fdisk -l Result?

Apr 27, 2010

I install centos 5.4 on my intel S5000vsa motherboard, and with embeded RAID1. I successfully config RAID1 in BIOS, and then I set to install centos use linux dd mode. And also successfully loaded raid drivers. In centos partition step, one disk appears. However, when centos installed and entered the system, strange result in fdisk -l.

fdisk -l
/dev/sda
...
/dev/sdb
...

Is it normal?

View 4 Replies View Related

Ubuntu Installation :: GParted Reports Disk As Unallocated Space

Dec 10, 2010

Although I've seen several threads with the same problem, I have not managed to solve the problem. GParted identifies my /dev/sda as unallocated disk space! The machine a Dell Inspiron M101Z laptop running Ubuntu 10.10 32 bit + W7 64 bit. I wouldn't have discovered the problem until I decided to replace my 32 bit Ubuntu with the 64 bit version, then GParted from the live cd identified my drive as Unallocated space!

I've already tried to use testdisk to write the partition table, but though it writes the table successfully and then it prompts to reboot, GParted still sees it as Unallocated. I've also tried fdisk /dev/sda then p then w to write the partition table, but again GParted screws up for some reason and sees it as Unallocated.

Code:

View 5 Replies View Related

General :: Mounted Disk Still Reports 0 Bytes On Rhel 5 Even When Files Are Delete?

May 3, 2011

Mounted second hard disk still report 0 bytes even when files are already deleted in rhel5 . I already checked the lost+found and trash . It only happen that disk space on deleted files cannot be recovered after the disk reach full capacity , but if it does not reach yet its full capacity , deleting files will recover the disk space . The format of the disk I have mounted is ext3 also have tried ntfs using fuse but the same problem , once allowed to reach 0 bytes I can no longer recover space with deleting files and had to reformat and restore the backup

View 4 Replies View Related

General :: Ubuntu Working On Thin Client Cannot Provide Accurate Disk Space Reports?

Jul 26, 2011

We are using thin client systems in our work environment. There is a central ubuntu server and by using thin clients, we are connecting to our homes. The problem is when I try to install an application, it reported me that I had 200 mb of disk space. But when i try to look from console, I see that /home folder has over 250 gb s of disk space. Even when I try to look from baobab, Disk Usage Analyzer in Ubuntu, i see that my home file system is full.

So what's the reason that I am receiving different kinds of disk space report from different sources? Our system admin here told me that some applications foolishly try to see the physical devices on the thin client and got confused as a result. Is this true?

View 1 Replies View Related

Ubuntu Servers :: RAID Card Reports All Four HDDs To Ubuntu As Single Drives Setup?

Nov 3, 2010

This is a strange problem. I have Ubuntu server installed on a proper server hardware. My RAID card reports all four HDDs to ubuntu as single drives, which is how i set it up because Ubuntu does not recognize the raid card on the server. Now you might say if thats the case, why dont i remove the raid card and have the BIOS report to ubuntu as four single drives then i can perhaps setup software raid. Well my board has only one sata port.Ubuntu is all setup. on the first drive and i have set the other three up using software RAID.

System works great only problem is it freezes sometimes. Not everytime, just on the odd occassion I use the same Hardware without the raid card and of course just one HDD and it great. No freezes.That leads me to believe its the RAID card.My question is why will it run great for days and sometimes just freeze on me? Probably silly but if theres an issue with the RAID card, it should not work at all, should it?

View 2 Replies View Related

Fedora Servers :: How To Use Fdisk To Partition Hard Disk Into Two Partition

Jul 2, 2011

i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.

View 10 Replies View Related

Debian :: LibreOffice 4.3.3.2 - Cannot Use Reports In LO Base

Apr 23, 2015

I'm using debian wheezy and i managed to install libreoffice 4.3.3.2 from debian wheezy backports.

The LO program works fine, except that i can't use reports in LO Base. When I'm trying to use a report file that already exists in a base file, i'm getting the message "loading component library <file:///usr/lib/libreoffice/program/librptlo.so> failed.

What should i do to make reports work;

View 1 Replies View Related

Debian Hardware :: AMD 11.6 Driver Reports That It's 11.5

Jun 16, 2011

I just installed AMD catalyst 11.6 version and in the Catalyst Control Center in the Information tab says it's 11.5 (the previous version). What's more weird is that I had to completely uninstall the 11.5 version (with --force option) because the installer complained that something changed to the previous installation and it couldn't proceed automatically. It should therefor not be any remains from 11.5 version installed at all to mess up the new installation. So what version of the driver do I have? (I use the run script from the official AMD site if that is relevant)

View 4 Replies View Related

Debian :: Unable To List Ipod With Fdisk -l

Jan 4, 2011

Here is my fdisk -l output:

yaman:/home/aykut# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

View 3 Replies View Related

Debian Configuration :: Fdisk And NTFS Hard Drive

Aug 24, 2015

when I type 'fdisk -l' I get the following:

Device Boot Start End Sectors Size Id Type
/dev/sdb1 16065 584830259 584814195 278.9G f W95 Ext'd (LBA)
/dev/sdb5 16128 584830259 584814132 278.9G 7 HPFS/NTFS/exFAT

I have 2 hard drives both are 278.9GB in a mirror raid 1. Why does 2 partitions show up? Are they referring to each physical hard drive? I want to believe that this is the same partition and not two different physical hard drives since both are in the same 'start' and 'end' range. Is that correct?

View 3 Replies View Related

Debian Configuration :: Duplicate Disks With Same Uuid Under Fdisk

Jan 19, 2016

I am running Debian 3.2.0-0.bpo.2-amd64 on hyper-v, my / volume ran out of space and is sitting at 100%, I have extended the disk size on hyper-v, however when I go to Fdisk I see duplicates of each disk.

I have total of 2 vhds on the vm, so I see 4 disks under fdisk. Here is the output of fdisk

root@apachevm:~# fdisk -l

Disk /dev/sda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0009bfe8

[CODE]....

View 2 Replies View Related

Debian Configuration :: Fdisk And System Disagree About Disks?

Dec 15, 2010

I have never seen this one before (see below) - note how /dev/sda1 is mounted from the first disk listed by fdisk, but /dev/sda2 comes from the second disk; what is going on here? This is what I did: I installed the latest debian "Testing", which went well - it found the disks in the order show by fdisk -l here. When it booted up after installation, it failed because it couldn't find /, which I repaired by editing the grub menu (I told it to start from the other disk), and it came up. But now I had to mount /u01 by hand from /dev/sda1; strange. I suppose I could just go and change the physical disks around, but I'd like to understand this. Any ideas?

# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 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: 0x00000000

[Code]...

View 2 Replies View Related

Debian :: SMART Reports Bad Sectors But Fsck Finds None

Nov 14, 2015

I am running Wheezy 7.9 (32 bit) and using Gnome Classic desktop. I have recently had several issues with system "crashes" and such, see some of my recent posts, and for now things seem to be working okay. As part of my attempts to "fix" the problems I looked at the hard drive using the SMART disk utility, and also ran "smartctl". The SMART utility reports that there are 3 bad sectors on the drive. When I run fsck, from a live CD, it does not report finding bad sectors. So why would fsck not find something that is reported by smartctl? Which one should I believe?

As a precaution I am now making daily backups of my /home directory and purchased a new HD just in case. Have not yet installed the new HD but at least I am prepared.

View 10 Replies View Related

Debian :: UName -r Reports Wrong Kernel Package

Jul 29, 2010

I am having issues trying to compile the alsa-linuxtant module and I am getting errors about not being able to find some files and the source needing to be reconfigured. Anyway the developers told me to try compiling on a pristine source to see if I could compile that way. When I went looking at kernel.org I did not find a 2.6.32-5 version. So I did some checking and to see just what version I have.

$ uname -r
2.6.32-5-amd64
$ dpkg --list | grep linux-image

ii linux-image-2.6-amd 64 2.6.32+27 Linux 2.6 for 64-bit PCs (meta-package)
ii linux-image-2.6.26-2-amd64 2.6.26-24 Linux 2.6.26 image on AMD64
ii linux-image-2.6.32-5-amd64 2.6.32-15 Linux 2.6.32 for 64-bit PCs

So the actual package that is installed is 2.6.32-15 but uname -r reports 2.6.32-5 as the kernel version.

View 11 Replies View Related

Debian Hardware :: When Plug In Charger OS Reports Battery As Empty

Feb 4, 2016

I am having a rather odd issue, this week I installed Debian latest on to an old Acer Aspire 3810TZ; everything runs smoothly enough and I spent a good number of hours using the laptop on battery (about two or three, the battery is checked and in good enough condition given its age) then as the desktop widget reported the battery as being 22% or so full I decided to plug in the charger at which point the os reported the battery as being 0% and issued an immediate hibernation.

I have done a fair bit of searching for others whom have had the same problem, as I am sure its not a new one. But the majority of what I have read revolves around batteries not charging and mine certainly does, I just have to have the laptop switched off while I do so (unless its booted into windows, in which case its fine.)

Below is the output of acpi and upower.

Code: Select allsimon@DLC:~$ acpi -b
Battery 0: Discharging, 96%, 05:47:01 remaining
simon@DLC:~$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:          ADP1
  power supply:         yes

[Code] ....

I am using the Cinnamon desktop environment ...

View 0 Replies View Related

Debian Configuration :: New Squeeze Install - Mismatched Fdisk Cylinder Numbers?

Feb 10, 2011

I just installed Squeeze on a 4 disk system, each disk set up identically with 4 partitions, with the last partition of each disk used for a raid 5 array. I used the squeeze installer, and chose the 'manual' partition option for this setup.

After installation, fdisk reports the ending cylinder number of each of the 4 disks as one more than the total number of cylinders for the disk. I've never seen this before. In the past when I've used fdisk to manually partition disks, the final cylinder number was always equal to the total number of cylinders.

For example:

Disk /dev/sdd: 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: 0x000937dd

[Code]...

The disk has 60801 cylinders, and the 'End" cylinder number for /dev/sdd4 is reported as 60802. I would have expected it to be 60801. Is this a bug or problem? It's working OK, but I don't know if it will cause instability in the future.

View 1 Replies View Related

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.

View 1 Replies View Related

CentOS 5 :: Disk Setup On New Install?

Jun 29, 2009

I am very new to centos and just setting up my disk. I have a dell 1850 with 2 69GB disks. When I get to this screen ( shown below) the disc configuration shows two discs "SDA2" and "69774MB". What I am wondering is this confuration ok. I assume the SDA2 is my secondary disk? Why is it using the secondardy disc and not the primary SDA1?

View 4 Replies View Related

Debian :: Disk Health Warning - Disk Part Of RAID5 Array

Feb 17, 2016

I received the following error when I got home from work today. If this was a windows environment, my first inclination would be to boot off my dvd and then run a chkdsk on the drive to flag any bad sectors that might exist. But there's a complication for me.

Code: Select allThis message was generated by the smartd daemon running on:
   host name:  LinuxDesktop
   DNS domain: [Empty]

The following warning/error was logged by the smartd daemon:
Device: /dev/sdc [SAT], 1 Currently unreadable (pending) sectors
Device info:
WDC WD5000AAKS-65V0A0, S/N:WD-WCAWF2422464, WWN:5-0014ee-157c5db9a, FW:05.01D05, 500 GB
For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.The original message about this issue was sent at Sun Feb 14 13:43:17 2016 MST.Another message will be sent in 24 hours if the problem persists.

From gnome-disks
Code: Select allDisk is OK, 418 bad sectors (28° C / 82° F)

I did a bit of reading and it seems that most people suggest using badblocks to first get a list of badblocks from the drive and save it to a file. Then use e2fsck to then mark the blocks listed in the badblocks file as bad on the hard drive. My problem here is that this drive is part of a RAID5 array that hosts my OS. I wanted to confirm if this was still the correct process.I boot to my Live Debian disk, stop the raid array if it's active. Then run badblocks + e2fsck commands on the drive in question and then reboot.

View 1 Replies View Related

Debian Installation :: No Boot Disk Has Been Detected Or Disk Has Failed

Nov 3, 2015

I installed Debian on my PC with a Acer Stock motherboard (xc600) with amd64 and after the installation finished it told me to remove my installation media and reboot. After reboot I was returned this message ' ERROR: No boot disk has been detected or the disk has failed.'. I have verified with gparted using mint live OS that I have Debian installed on my system.

I got believes that this may have be caused by a broken grub or I need to configure something I don't know how in BIOS.

I will update the topic later..

My installation media was a USB 2.0 flashdrive with a Debian 8.2 Jessie Installer and 9 different Linux distros. I have installed Debian multiple times before on my laptop and never had this problem so I know how to go through the installation process and set the partitions.

View 3 Replies View Related

Ubuntu Installation :: Multiple OS's On A Disk With LVM Setup?

Mar 27, 2010

I want to be able to install multiple operating systems on a disk setup with LVM. I am uncertain as to how to go about this.I read somewhere that you can do it, but that only one /boot partition should used for all systems(they are all linux).get going on this? Do I boot from an installation disk and follow that path some how...or is there some other method I should be following? And how do I use one boot partition for all OS's? I had a problem with this once before..so need to ask, especially with the LVM thrown in the mix.

View 7 Replies View Related

Ubuntu :: Printer Setup From Live Disk?

May 15, 2010

I have a couple of questions here first being can a printer be set up from a live disk and secondly if a printer can be set up how?

View 1 Replies View Related

Hardware :: Setup Unable To Access Disk

Feb 8, 2009

It all started when I decided to take the plunge and install Linux, bearing in mind that I am still completely dependent on Windows. I decided to go for Ubuntu, hearing that it is user-friendly and easy to learn. My current machine dual boots to WinXP & Vista. Following the guide regarding pre-partitioning, I decided to delete a partition I no longer use so I can install Ubuntu on there. Using XP's disk management, I deleted said partition, but it somehow also deleted my Vista partition! As a result, I am now unable to boot to Vista. I went back to XP, and ran Partition Magic to fix the partition tables. However, I get an error saying something about the partition's drive letter can't be identified. Decided to resinstall Vista but when it asked me where to install, I noticed that it only shows 3 partitions instead of 4 (my data partition has somehow vanished as well). Then I heard a noise from my HDD, and it suddenly reboots. Decided to log back to XP, but I am unable to boot to XP as well (got BSOD'ed).

Got my XP setup disk to reinstall, but this time, XP setup only recognizes one big partition(250gb).... and below the partition there is a note that says "Setup unable to access disk." I also tried the recovery console, and on the C: prompt when I did the chkdisk, it says something about invalid file path or can't find the path. Tried the Vista install again, it was also unable to access the disk. So what happened? Is my HDD dead? Finally, I thought I'd give Ubuntu a try. Decided to do the "Live CD" first, and wow, nice user interface! Then suddenly, I saw my "data" drive and "winxp" drive! Everything is accessible and all my files were there. I was overjoyed knowing that it didn't wipe out any of my files. So I guess my main question is, should I go ahead and install Ubuntu and will I be able to get those files back? Is there a program similar to XP's disk management? And finally, I know not related to Linux, but how can I boot back to XP?

View 5 Replies View Related

General :: Setup RAID 5 And One Spare Disk

Aug 4, 2010

I want to build a 6xSATA RAID 5 system with on of the disks as spare disk. I think this give me a chance of 2 of 6 disks failing without losing data. I am right?
Hardware: Intel ICH10R
First I will creat a 3xSATA RAID 5, after I will add the spare disk and after that I will add the others disks. This is what I think I should do.

Step 1:
Create RAID Device
Code:
mdadm --create --verbose /dev/md0 --metadata 1.2 --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1
I read that "--metadata 1.2" is the best option. It is true?
Create filesystem on the RAID device

Using this method of calculation:
* chunk size = 128kB (for RAID 5)
* block size = 4kB (recommended for large files, and most of time)
* stride = chunk / block = 128kB / 4k = 32kB
* stripe-width = stride * ( (n disks in raid5) - 1 ) = 32kB * ( (5)- 1 ) = 32kB * 4 = 128kb
Then:
Code:
mkfs.ext3 -v -m .1 -b 4096 -E stride=32,stripe-width=128 /dev/md0

Step 2:
Add spare-disk
Code:
mdadm --add /dev/md0 /dev/sdd1
Is this enough?

Step 3:
Adding disks:
Code:
mdadm --add /dev/md0 /dev/sde1
mdadm --grow /dev/md0 --raid-devices=4
fsck.ext3 /dev/md0
resize2fs /dev/md0

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved