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
ADVERTISEMENT
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
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
Dec 30, 2010
I just bought a 3TB drive to use for backups and I'm getting a strange message when I run fdisk to get a listing of the drives.Here's what fdisk says about the 3TB drive:
Code:
Disk /dev/sde: 3000.6 GB, 3000592977920 bytes
255 heads, 63 sectors/track, 45600 cylinders
[code]....
View 9 Replies
View Related
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
Aug 31, 2010
I have some WD20EARS drives that I am trying to format into a pair of Linux software RAID1 devices. The problem is that at seemingly random steps during the process, the operating system decides the disk is a size much smaller than it actually is (2 TB, or as reported by the OS when it is acting normal, 1.82 TB). I follow this general layout of steps: first, I do fdisk -u /dev/sd[x], create a primary partition spanning the whole disk starting from sector 64 (to align the advanced format blocks properly). I set the partition type to fd (software RAID autodetect). Then, I assemble the arrays with mdadm:
Code:
mdadm --create /dev/md[z] --level=raid1 --raid-devices=2 /dev/sd[x]1 dev/sd[y]1
And then I create an ext4 filesystem:
Code:
mkfs.ext4 /dev/md[z]
For reasons I can't understand, fdisk, parted, and gparted (basically, everything) decides at any random point in that process that my disks are not 1.82 TB, but instead something like 172 GB or 500 GB. Once that happens, nothing I do to try to get my disks back seems to work. I've tried using expert mode in fdisk to manually reset the number of cylinders to the correct amount, but this hasn't worked either. Nothing short of reinstalling the system seems to work (but when I boot the installer, it seems to recognize the correct size of the disks).
View 6 Replies
View Related
May 17, 2011
I have installed a minimal system with openbox window decorator. (without any window manager) when i insert a flash disk to my computer, system doesn't mount it automaticly. i must mount it to a folder to use it.
for example:
View 14 Replies
View Related
Mar 4, 2010
I'm trying to do some RAID managing with mdadm. I would like to sync my spare disk and then remove it from the array for making a backup out of it with dd command (the best way i can think of to get the current image of the whole system as it can't be done using the active RAID as source, because is constantly in use and changing). So, I have RAID1 array with 1 spare and 2 active disks (configuration listed below). Now I would like to force spare to sync and then remove it from array, although not faulty.
However, mdadm man page states:
"Devices can only be removed from an array if they are not in active use. i.e. that must be spares or failed devices. To remove an active device, it must be marked as faulty first."
So, I'd have to mark a disk as faulty (which it is not) to be able to remove it from array. There seems to be several people reporting that they can't remove this faulty flag accidentally given to a drive. And mdadm does not give direct for such operation. Isn't there a way I could remove and add disks whenever feeling like it?? One way would be open the cover and physically remove the disk. I'm not taking the risk, though. System is almost always in use, so there is not much chance for me to power off for temporary disk removal.
RAID CONFIGURATION:
~# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Fri Aug 4 17:38:26 2006
Raid Level : raid1
Array Size : 238950720 (227.88 GiB 244.69 GB)
View 3 Replies
View Related
Dec 31, 2010
Is there a command line tool to shut off/spin down the hard disk either when not in use or when something is typed into the console? I'm trying to save power in a laptop I have..
View 2 Replies
View Related
Jun 25, 2015
I have given up (for now, at least) the idea of a raid solution but I will still have 2-3 hard disks available for my workstation. If I choose to reinstall from scratch,can I have essentially two different homes?
View 5 Replies
View Related
Feb 25, 2010
I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?
I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);
dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)
(a new server,2 CPU 8 core and 8 gb ram)
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)
[Code].....
View 3 Replies
View Related
Jul 31, 2011
I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.
View 14 Replies
View Related
Dec 14, 2010
How to install linux by using text mode or fdisk tool
View 3 Replies
View Related
Nov 16, 2010
The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)
[code]...
View 2 Replies
View Related
Jul 20, 2010
I've a new external usb drive that was shipped formatted fat32. I wanted to convert this to ext3; so I performed a mkfs.ext3. I then noticed that fdisk was still reporting the usb drive as fat32 (even after reboot), but mount was reporting ext3: so I fdisk'ed the drive and change the partition's system id to 83 (Linux)
View 1 Replies
View Related
Nov 15, 2010
How does the 'testing' version of Debian stabilize? I mean, the updates from upstream are very frequent, so if the Debian maintainers upgrade a package till the very end (for e.g if they just upgrade to 2.6.36), when will they get time to test it (so as to freeze it)?
View 7 Replies
View Related
Aug 1, 2011
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies
View Related
Jan 10, 2016
I would like to remove a specific domU (test01--pv--guest) from my machine. I am not sure how far/to what extent to remove files. Here are the files and properties it seems I should remove:
lrwxrwxrwx 1 root root 10 Jan 9 11:05 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--disk -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jan 9 01:03 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--swap -> ../../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/mapper/xenvg-test01--pv--guest--disk -> ../dm-3
lrwxrwxrwx 1 root root 7 Jan 9 01:03 /dev/mapper/xenvg-test01--pv--guest--swap -> ../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/xenvg/test01-pv-guest-disk -> ../dm-3
The above link to dm-2 and dm-3.
brw-rw---- 1 root disk 254, 0 Jan 9 01:03 /dev/dm-0
brw-rw---- 1 root disk 254, 1 Jan 9 01:03 /dev/dm-1
brw-rw---- 1 root disk 254, 2 Jan 9 01:03 /dev/dm-2
brw-rw---- 1 root disk 254, 3 Jan 9 11:05 /dev/dm-3
brw-rw---- 1 root disk 254, 4 Jan 9 01:03 /dev/dm-4
brw-rw---- 1 root disk 254, 5 Jan 9 01:03 /dev/dm-5
brw-rw---- 1 root disk 254, 6 Jan 9 01:03 /dev/dm-6
brw-rw---- 1 root disk 254, 7 Jan 9 01:03 /dev/dm-7
Will they be deleted automatically or should/can I remove them? How do I check the need for the other dm-? files? As indicated below, it seems like some may be duplicates.
I also found this set in /etc/lvm/archive/:
-rw------- 1 root root 2909 Oct 17 00:41 Relaise-vg_00000-1453251236.vg
-rw------- 1 root root 2929 Oct 24 22:08 Relaise-vg_00001-1530642081.vg
-rw------- 1 root root 2924 Oct 25 19:33 Relaise-vg_00002-328450675.vg
-rw------- 1 root root 2901 Oct 26 19:53 Relaise-vg_00003-1555350964.vg
-rw------- 1 root root 2902 Oct 26 19:53 Relaise-vg_00004-1044927704.vg
[Code] ....
Some of these seem like duplicates. This may be due to multiple attempts to build the volumes. Is there a way to determine if all of the are useful?
View 0 Replies
View Related
Jun 11, 2010
I came across one strange problem. When I try to install a new package on my system, I get this error, connected with libgnutls26:
[Cpde]...
View 2 Replies
View Related
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
View Related
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
Jun 23, 2015
If I shutdown from X the system hangs and I have to yank out the power cord. Same on logout.
ctrl+alt+f1 hangs for a few minutes and then starts a terminal; which does not respond to the keyboard.
There are no tty.conf files in /etc/init .
But inittab looks normal to me and includes tty (1-6)
Executing init 6 from a terminal in X will reboot the system
I was thinking this might be a dbus issue, but I am not sure. I also understand some recent issues exist with SysRq sequences. May be a video card issue,,,
Other than normal package upgrades the only changes were a recent change from a VGA to HDMI cable. I can't see why that would matter
Linux Lugh 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux
View 6 Replies
View Related
Feb 1, 2016
I was wondering if a standard Debian 8 system with Gnome desktop does any kind of local dns caching, and if so, what the command is for clearing it. (Assuming I haven't purposely installed any DNS server software.)
I found multiple posts on the Web about unix DNS caching, but with widely different answers across distributions and across time.
View 2 Replies
View Related
Feb 2, 2016
I am running Debian on an ARM module (BananaPi).5 minutes ago, i started upgrading the system, but fortunately the power cable moved and the system closed.Now i open it up again and i'm trying to re-upgrade the system but i'm always getting this message
# apt-get upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
View 4 Replies
View Related
Apr 12, 2016
I have installed jessie on a couple of machines. One is configured as the NFS filesystem exporter and NIS server. The other one, I am trying to configure as NFS and NIS client. NFS does not seem too much of a problem, I can mount the exported filesystem to a directory in the client and unmount it, but when I install NIS the system becomes very slow. Any command preceded by "sudo" takes a very long time (a few minutes) to complete. Then, upon rebooting the system, it reports many services failed to start (login, accounts, modem manager, avahi, network manager, exim). When if finally completes, I get a terminal login, instead the graphic login window.
View 4 Replies
View Related
Feb 20, 2010
Installed linux-image-2.6.32-bpo on my laptop today and after the reboot i got "no operating system found" . I'm now typing using a Puppy live cddrom .
View 3 Replies
View Related
Mar 2, 2010
I have a small LAN. I am in the process of installing a Debian Lenny/Squeeze system into the LAN. I want to send and receive system messages using rwalld and wall.I can send a system message from my Debian system to another box using rwall. I can send a local message within the Debian box using wall in a console.I cannot send a local message using wall Konsole in KDE 3.5.x. The KDE Write daemon fails to provide any pop-up window./usr/bin/wall is installed from the bsdutils package and is set to -rwxr-sr-x.
The ktalkd package is installed. The KDE control center shows a configuration option in Internet & Network settings called Local Network Chat.When not in X, mesg is set to y at the console. After starting KDE and I open Konsole, mesg is always set to n. I don't know how this setting toggles. Further, setting mesg to y in Konsole has no effect on getting wall to work.mesg is set to y when I run xterm in KDE. Then wall works within that terminal window. However, the KDE Write daemon does not see the message in xterm.When I send a message from another system to the Debian system using rwall, xterm receives the message but not Konsole or the KDE Write daemon.
View 3 Replies
View Related
Mar 26, 2010
The purpose of that topic is to identify if there is any way to totally clean a debian system and make it like a fresh installed system (of course i amn't refering to packages because aptitude is just perfect?
View 3 Replies
View Related
Oct 28, 2010
I'm running testing and over the last week or two my system is getting slow. Any disk access slows everything to a crawl. Even the cli can take several seconds to display characters as I type them.
View 9 Replies
View Related
Jan 23, 2011
I updated squeeze last night for the first time. It worked fine after 1st reboot last night. There was one reboot stalled at "hald" so I shut down and restarted. Worked ok 2nd time around
Today,upon login I got a string of taskbar notification (which I couldnt read as they all overlapped . I was able to see a kernel error message but couldnt report it (network was down) or save it (USB stick not recognised) Some programs worked, others didnt
I have the partedmagic rescue distro on USB stick so have those programs to use in order to fix the problem. Any idea how I can repair this? I tried fdisk for the hell of it. reported clean partition as predicted. I am using debian-testing-amd64-kde.
View 3 Replies
View Related