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


ADVERTISEMENT

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

General :: LVM And Plug The External USB HDD - OS Will Detect A Duplicate LVM Configuration, With The Same Name And UUID

Mar 11, 2011

Using Linux, I have several backup levels. One of them is a periodical sector by sector copy (using dd) of my laptop harddisk to an external USB disk. Yes, I have other backups too, like remote rsync. This approach (the disk dd) is OK when cloning a HDD with no LVM volumes, since I can plug the external disk anytime and mount the partitions simply mounting /dev/sdb* instead of /dev/sda*. Trivial and handy.

Today I moved ALL my harddisk (including the /boot) to LVM. Everything works fine. I will stress it for a couple of days, and then I will do a sector by sector copy to my external harddisk. Now I have a problem, I guess.

If in the future I plug the external USB HDD to recover any file, the OS will detect a duplicate LVM configuration, with the same name and the same UUID. Even doing a vgrename (which LVM would be renamed, the internal HDD or the external HDD?), the cloned UUID will not change. Is there any command to change name and UUID? Ideally I would clone the HDD and then change the LVM group name and its UUID, but I don't know how to do it. Another related issue would be... In the past I have booted my laptop using the external disk, using the BIOS boot menu and changing GRUB entries manually to boot from /dev/sdb instead of /dev/sda. But now my current GRUB configuration boots directly from a LVM logical volume, something like: set root='(LVM-root)' in my grub.cfg. So... What is going to happen with duplicated volumes?

View 2 Replies View Related

Debian Configuration :: No UUID For Some Partitions?

Jun 15, 2010

I have two encrypted partitions which I cannot find UUID numbers for.

/etc/crypttab looks like this:

[Code]....

and *sometimes this works, other times I have to edit the file and /etc/init.d/cryptdisks restart.

Obviously I should use UUIDs here and in fstab but blkid does not list those partitions

[Code]....

View 4 Replies View Related

Debian Configuration :: Hdd Dev Letters - UUID And Labels ?

Jun 30, 2011

I have a debian 6 system in my basement acting as a media server. Debian is on a separate HDD from the raid drives and there is one external drive. Under normal conditions the Debian HDD shows up as /dev/sdk and the external shows up as /dev/sdl, no problems here because I use UUID for mounting. The problem is sometimes this drive isn't picked up on restarts (its old and I think the issue is the power supply in the base of it, to be solved later) . This wouldn't be a problem but it some how shuffles the drive addresses and the Debian HDD becomes /dev/sde, this in turn messes up a script that does a weekly dd of that hard drive. I am only really worried about this for when I go on vacation and I wont be at home if the power goes out.

So, is there a way to address the entire hard drive (not just a partition) other than the dev file? Why did this change from Debian 5 to 6? I never had this problem before with 5.

In case you are wondering, I find it easier recover from an image rather than do a reinstall, then get all the updates and software, then put in all the backed up files.

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

Ubuntu :: Fdisk And Disks Greater Then 1.5TB?

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

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

Hardware :: Determine The UUID Of 2 Disks That Are Assembled In A RAID1 Array?

Feb 17, 2011

I just experienced a HDD failure and while reorganizing the drives inthis machine I realized the benefits of UUID instead of /dev/sdX nomenclature. I am trying to determine the UUID of 2 disks that are assembled in a RAID1 array. right now they are /dev/sde & /dev/sdf with each only one partition. I tried ls -l /dev/disk/by-uuid but I get only the UUID of other disks, not the ones currently ID'd as sde & sdf. my mdadm.conf assembles several raid arrays all by UUID, but somehow, I cant recall how I got the UUIDs of the other HDDs at first...

View 14 Replies View Related

Ubuntu Servers :: FDisk - GParted Report Wrong Sizes On Disks

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

OpenSUSE :: Find Duplicate Files In Multiple Disks?

Jan 11, 2011

I am looking for an application (better kde one) that can search two external hard disks I have and find any duplicate files. I did some backups before to one disk which i copied few years ago to the other disk. Right now I would like some program to check files and tell me if there are the same.

View 9 Replies View Related

Debian Configuration :: How To Automount Flash Disks

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

Debian Configuration :: Reorganizing Disks In MD RAID Array

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

Debian Configuration :: Tool To Turn Off Hard Disks?

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

Debian Hardware :: Servers Which Contain SATA Disks And SAS Disks?

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

Debian :: Change The UUID Of A Partition?

May 9, 2011

I have, as I have in the past, copy/pasted a partition using gparted to get a working OS to another place.

I have always done this in the past to a different drive. Never paid much attention to the UUID.

This time I did it on the same drive. The partitions have the same UUID. This is not a good thing.

The copied OS boots and mounts fine as I edited the fstab to go by /dev/sdxy (where x is the drive and y the partition). My grub uses a custom menu using symbolic menu entries so it goes by the partition definition instead of UUID too.

I would really like to change the UUID on that partition.

View 8 Replies View Related

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 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 Installation :: How To Get UUID For Root In Grub CFG

Mar 15, 2015

I am running Wheezy as my main OS in the first drive in my desktop. I use the 2nd drive for data. I am trying to add another OS to multiboot. When I ran grub-update in Wheezy, I am getting device letter for the root device instead of UUID in grub.cfg, in the os-prober section. Like this

Code: Select allsearch --no-floppy --fs-uuid --set=root 6ee49a8e-a619-49c7-9f66-51a5ca9a48cc
   linux /boot/vmlinuz-316-x86_64 root=/dev/sdb3
   initrd /boot/initramfs-316-x86_64.img

In the same file, UUID was used for the existing kernels.

Code: Select alllinux   /boot/vmlinuz-3.2.0-4-686-pae root=UUID=c2eecf02-d427-4f2e-9fd0-9db61256cbac ro  quiet
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.2.0-4-686-pae

How can I get UUID instead of /dev/sdb3 for the 2nd OS?

View 3 Replies View Related

Debian :: Uuid Not Working On Ancient Laptop?

May 16, 2011

System Fossil age laptop, Debian testing with lilo. SymptomAfter an upgrade (2nd week May), custom kernel compiled, kernel panics on boot, saying unable to mount root drive. (or more precise, unable to mount whatever uuid device). Stock kernel can boot. Workaround Instead of uuid on kernel option, use prehistoric root=/dev/XXX.

edit:The kernel which panics is 2.6.38 (make oldconfig, all default answer from 2.5.32 config)Stock is 2.6.32 On 2.6.38 after boot with tweak, the command "uuid" looks good.

View 2 Replies View Related

Debian Installation :: Why Does 8.2 Change UUID Of Swap Drive

Dec 14, 2015

Been doing some installations in a newly upgraded machine where I'm setting up two instances of 8.2 in slightly different configurations.Installing from netinst AMD64 DVD with firmware non-free. First installation goes smooth as then the second changes the UUID of the swap partition, meaning that the first then can't find it. To add insult to injury the second installation doesn't install GRUB in the MBR of the HDD.

Nothing different or special about the installation which is standard graphical with manual allocation of previously set up partitions. I don't touch the swap drive in the partitioner - just point to the correct partitions for / and /home as I want them. This is exactly as I've done before, many times.Setup asks me if I want to install GRUB in MBR and I answer "No" (because it would otherwise load in MBR of sda where I want it on sdb) then point to sdb in the next screen. Again really nothing different to what I've done dozens of times.

View 7 Replies View Related

Debian :: Grub Menu - How To Set Default Format To Use UUID

Sep 21, 2010

I am using Debian lenny (kernel 2.6.26-2-686).

I changed my menu.lst to use
root=UUID=<long uuid string>
instead of the good old
root=/dev/sd...

I did that because, if I boot with a usb drive attached to my computer, sda become sdb and therefor nothing works anymore since my friend Kernel can't mount it's root partition. BTW, it works wonders using the UUIDs. The story darkens each time there is a kernel update, dist-upgrade resets my menu.lst back using the /dev/sd... format. and BANG... no more booting again. I am good to change my menu.lst back each time.

View 2 Replies View Related

Debian :: Fsck.ext3: Unable To Resolve 'UUID=theUUID'

Jun 24, 2011

Upon booting my LVM wheezy setup, I get

fsck.ext3: Unable to resolve 'UUID=theUUID'
where "theUUID" (without the quotes) is the UUID

I believe this is caused by me trying to get lvm to use the external /boot because when I had unmounted the external /boot, it was creating a /boot in root. So, I booted a live cd and mounted the external /boot where /boot in the root volume is supposed to be. Basically, I think the problem is that I need to make my /boot (which is the only ext3 partition in the entire system and I want it that way) "relate itself" to the lvm root so that it boots into the system. As mentioned earlier, in the live CD, I made the external /boot mount itself in the root's /boot but I don't know how to tell the system to do this on its own while booting without my assistance. I chrooted from the live cd which involved a lot of tedious stuff but basically the important stuff I did were:

grub-install /dev/sdb
update-grub
update-initramfs -u

P.S.I get the issue in the Subject of this topic by telling tune2fs to mark the external /boot, lvm / and /home partitions as "dirty."

View 2 Replies View Related

Debian :: Duplicate Sources.list Entry?

Apr 17, 2011

Whenever I run $aptitude update I get this error :-

W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ stable/non-free amd64 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_non-free_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems

[code]....

View 11 Replies View Related

Debian :: Getting Duplicate Source Error When Update

Apr 15, 2011

I'm sometimes getting a 'duplicate source' error when I update, but not always. Sometimes it's just fine, without me having changed anything significant. To be honest I don't really understand what's going on.

Here's my sources.list :
deb [URL] testing main
deb-src [URL] testing main
deb [URL] testing main contrib
deb-src [URL] testing main contrib
deb [URL] testing main non-free
deb-src [URL] testing main non-free .....

Whats with the duplicate sources referring to /var/lib...? I've never touched that directory. Ever. And why are there three 'duplicates' of testing/main when clearly I only have two in sources.list? I'm confused. Is my sources.list set up properly? Usually, running another update immediately after the first one cleans up the errors, but this keeps coming back every few days.

View 2 Replies View Related

Debian :: Use Udev Rules To Prevent HDDs To Change Device Instead Of Using UUID In /etc/fstab?

Dec 15, 2010

UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?

View 2 Replies View Related

Debian :: Synaptic/update Manager Causes Duplicate Scim Processes?

Jan 18, 2011

[rant]Ok, I've been ignoring this for a couple of months, but now it's gotten to me and I want to know what's causing it.[/rant] Here's my problem. I have scim 1.4-9 (latest) installed for Japanese input. It works fine. I have no problems with it. However, when I launch Synaptic or update manager a duplicate instance of scim starts.This is on Debian Squeeze. See below:

Fresh reboot:

Code:

scim-bridge 34.2MIB
scim-helper-manager 32.7MIB
scim-launcher x2 47.8MIB, 165.4MIB
scim-panel-gtk 153.2MIB

After launching Synaptic or Update manager:

B signifies before as above

Code:

B scim-bridge 34.2MIB
scim-bridge 34.2MIB
B scim-helper-manager 32.7MIB
scim-helper-manager 32.8MIB

[code].....

It's not a huge deal, because when I close said programs, the duplicate process stop. I just find it odd because these are the only two programs that seem to cause it. Oh, and I'm using Gnome, if that matters.

View 2 Replies View Related

Debian Multimedia :: Controlling Sound - Duplicate Sliders / Wrong Output

Mar 8, 2016

I'm using Debian Jessie, KDE 4.14.2. At some point over the last 6 months or so a couple of related problems appeared on my desktop...

1) Sometimes sound appears not to be working and I have to go to change the output device to get this to work (right click on kmix, audio setup, hardware setup, device conguration dropdown to change between analog output and speaker.. -see screenshot [URL] ....). This is often a problem but is particularly a problem if I boot up with a headphone/speaker plugged into the jack...then if I remove this, it doesn't output to the laptop built-in speakers unless I change the settings.

What I want it to do is fairly straightforward, I just want it to use the laptop speakers when nothing is plugged in, but use headphone/external speaker output if i put something in the headphone jack.

2) I have lots of sliders when I click on kmix in my taskbar - I don't really understand what all of these do, they seem like duplicates...and also, sometimes sliders for specific applications seem to behave independently, defaulting to very quiet, or so on - generally behaving strangely! see: [URL] .... for a screenshot.

Similarly, when I click the button to go to mixer, I get multiple duplicate tabs, some with lots of sliders again - some with none: [URL] ...., [URL] ...., and [URL] .....

I also have a problem, much more minor, but perhaps related: when I'm playing music in banshee, if I reduce volume using the system volume (keyboard shortcuts/ kmix), it goes down in banshee...but doesn't go back up again. so if i mute system sound then unmute it, banshee stays muted and i have to use the specific setting within banshee...

I'm not sure where these problems came from as it all previously worked fine within kde for me. Perhaps i messed something up intentionally or perhaps an update caused this ...

View 0 Replies View Related

Debian :: Duplicate Files In User Library - Safe To Remove Outdated

Feb 8, 2011

I have just upped from lenny to squeeze. I didn't mean to, really, but the package manager was well into its stride by the time I realised what was happening. Mostly all went well, BUT /usr is now 100% full. I notice that there are duplicate files in /usr/lib, eg Oct 11 22:35 libgcj.so.10.0.0 and Sep 14 2008 libgcj.so.90.0.0 (I assume the latter has been replaced by the former?). Is it safe to remove the "outdated" lib files? Is there an elegant way of doing it?

View 4 Replies View Related

Ubuntu Installation :: Which Disks Can Be Main Boot Disks

Mar 31, 2010

I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)

Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?

View 2 Replies View Related







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