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
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
Feb 21, 2011
What i am trying is to check the file duplication in a folder and remove a file if it is a duplicate of another file ie the contents are duplicate; but names may be same.
Basically i am using md5sum to calculate the md5sum values of each file and redirecting to a file. And i am thinking of comparing the md5sum values.But i am finding it hard to decide how to complete the code after redirecting the output of calculation of md5sum to a file.
View 3 Replies
View Related
Dec 14, 2009
I'm having a little problem here with my notebook: when I connect the headphone plugin in the 3.5mm output nothing happens. I mean, the sound continue to flow on the speakers as the headphone wasn't plugged in. Using Sony Vaio VGN-FW378J with openSUSE 11.1 and Banshee 1.4.3.
View 9 Replies
View Related
Mar 8, 2010
My Firefox 3.6 plugin check reveals "Unable to Detect Plugin Version" for Java. It detects Totem and Shockwave just fine.
Exact message:Java(TM) Plug-in 1.6.0_15 .Unable to Detect Plugin Version
I am running Firefox Ver 3.6 on Ubuntu 9.10. As a result of this, I cannot use VPN to log into my co network which is bit of a handicap.
View 9 Replies
View Related
Apr 7, 2011
I am trying to figure out how to get the UUID for some of my external hard drives.the internet revealed a couple of promising leads, this is what I have tried so far:
ls -l /dev/disk/by-uuid -> didn't list the hard discs
blkid -> didn't list the hard discs
lsusb -v -> listed the hard disc but no uuid
A normally formatted usb key is listed with uuid. The external hard discs are fully encrypted by truecrypt(realcrypt). I have been reading not so great things about that itself, but for now I don't have a promising alternative that I can use with windows as well.Any google searches don't seem to cast any new light on this for me,I'd be open to suggestions if there's a better way to get a definite ID for a hard drive... I just need to be able to mount it with realcrypt
View 3 Replies
View Related
Aug 4, 2010
In Ubuntu 10.04 all I had to do was turn on my external hard drive and it would automatically be detected and mounted. I just switched over to Ultimate Edition, which I think is Ubuntu 10.04 with a lot of stuff added on to it. The funny thing is when I turn on the external hard drive it doesn't get mounted, and I don't think it's even being detected. I looked in gparted and it doesn't show up there. If I boot into Ubuntu 10.04 and turn on the hard drive it still gets detected and mounted, so there's nothing wrong with it. Ultimate Edition can detect other things connected to USB, like my iPod, so I'm wondering why it can't detect my hard drive.
Edit: When I do tail -f /var/log/messages and if the drive gets detected, this is what it says:
[ 230.520892] usb 1-2.4: new high speed USB device using ehci_hcd and address 6
[ 230.639400] usb 1-2.4: configuration #1 chosen from 1 choice
[ 230.639717] scsi9 : SCSI emulation for USB Mass Storage devices
[ 235.631550] scsi 9:0:0:0: Direct-Access Maxtor OneTouch 0122 PQ: 0 ANSI: 4
[Code]....
View 1 Replies
View Related
Jan 9, 2010
I am running Ubuntu 9.1 on my Gateway M305CRV and love it . . HOWEVER:Less I am plugged directly into the internet with Ethernet cable . . I have not internet. I purchased this laptop just prior to when internal wireless cards/ modems were standard . . thus I have an external Dell brand (True Mobile 1300-802.11 b/g PC Card) wireless card.Ubuntu does not seem to automatically detect it and I dont see
View 2 Replies
View Related
Jan 3, 2010
I just purchased a Western Digital My Book World Edition External hard drive and need to mount and format. My router sees the connection but I am now unsure how to proceed. Will linux detect the new device through my wireless connection? I know very little about Unix based or Linux commands.
View 10 Replies
View Related
Jul 14, 2009
I've never owned an external SATA device, so I'm curious whether these devices are hotpluggable in Fedora. Some computer cases and case inserts have an external SATA connector that plugs into the motherbords built-in SATA connectors and extends the connection so it reaches outside the case. But can you plug and unplug SATA devices just as you do USB devices?
View 8 Replies
View Related
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
Nov 14, 2010
I plug in my Maxtor 1TB external USB drive, and here's what dmesg says:
Code:
[ 82.480054] usb 3-2: new full speed USB device using ohci_hcd and address 7
[ 82.660052] usb 3-2: device descriptor read/64, error -62
[ 82.950076] usb 3-2: device descriptor read/64, error -62[code]...
lsusb produces no results, and "fdisk -l" yields nothing as well.The drive is not recognised as /dev/sdb1 as it was until yesterday.
View 7 Replies
View Related
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
Aug 23, 2010
1. When booting standalone (no extra display) everything works just fine
2. After plugging in an external display on VGA slot, the boot process hangs during xdm start
Config:
OpenSuse 11.3
KDE environment
DELL Latitude e6510 with 8G of RAM
Graphic card is DDR3 NVIDIA� NVS 3100M 512 Mo
View 9 Replies
View Related
Jun 17, 2011
I was just thinking about installing an operating system like ubuntu or ubuntu server on an external harddrive. this being possible , i would like to know if we can use the external drive to plug into any machine and run my ubuntu by just changing the needed bios mods in that system. and without further having to install the necessary hardware specific devices into my os.
Because each machine would have its own hardware set, how would the os handle it or would it have to install the necessary drivers and so on everytime it comes across a different system from the immediate previous hardware it was used with. and i know this was why laptops were invented even maybe to have that portability to use with but this without a laptop, just an external hard drive that can make up and help us use the hardware at hand with ease without any installations of any kind.
View 5 Replies
View Related
Jul 22, 2010
I'm running a Debian on a laptop (actually a netbook: Asus EEE 1001PX) as a cheap homeserver. However I'd like it to automatically "shutdown -h NOW" when I remove the AC plug (switch it off at the wall). Otherwise I have to ssh to it and call it myself, and that just sucks Can I somehow detect the removal of AC power and upon that run a script ?
View 8 Replies
View Related
Oct 15, 2010
A few days ago I installed browserlinux onto my AspireOne netbook whilst connected to a 15" external monitor of 1024x768 at 60Hz. During installation I ran the Puppy Xorg Wizard with the netbook's monitor (1024x600) switched off. It selected the optimum resolution of my external monitor correctly as 1024x768 and the 'intel' driver for the Intel 945 Express chipset. However when I ran programs and maximised their windows they would cut off about a third from the bottom. I ran the Xorg Resolution Wizard which showed a resolution of 1024x600 despite xorg.conf only showing an option of 1024x768. I tried to copy a xorg.conf from Linpus (Fedora 8) which had required some altering in the past to run the external monitor at the correct resolution but X failed to start (possibly because Xorg in browserlinux is a newer release). Would it be possible for someone to upload a xorg.conf file which would enable display the external monitor at the correct resolution (and ideally allow switching between the two monitors - under Linpus the hotkey is Fn + 4) or suggest alterations to the current file?
[Code]...
View 7 Replies
View Related
Apr 13, 2011
My netbook DOES seem to know when I plug in or remove an external monitor. Can I get it to simply auto-switch?
View 4 Replies
View Related
Apr 25, 2011
When I'm connecting second monitor to the laptop, Display Settings applet (and xrandr -q) does not detect full list of supported resolutions. I need to restart my system or perform Log off while monitor is connected to make full list available.openSUSE 11.4 32 bit, Ati Mobility Radeon HD 3450, proprietary ATI driver 11.3 8.831.2-110308a-115935C-ATI.External monitor is FullHD SyncMaster B2330 (1920x1080)I wonder is there any other workaround to access full resolution that does not require restarting of the system?
View 7 Replies
View Related
Oct 16, 2010
I've installed Ubuntu 10.10 on my Macbook Pro 5,5. Everything is running fine with some tweaks. Just one thing bothers me: when I tell Nvidia X Server Settings that I want to use my external screen as primary screen it doesn't put the gnome panels to the other screen, well... sometimes it does after a couple times but most of the time it doesn't.is there a way to automatically detect when I connect a monitor instead of going to the Nvidia settings? Just the way Mac OS X does?
View 1 Replies
View Related
May 30, 2010
I'm not sure what to do, but I just rescued photos and documents using ubuntu live cd, gddrescue and photorec. The data carving went fine and I was able to move all of my recovered jpg's into a recovery/jpg folder, as well as my word doc's into a recover/doc folder. I also have recovery/video and recovery/audio. Now here's my problem...
I used the right-click "safely remove drive" from the ubuntu interface and then unplugged my external drive. I then tried to view the recovered photos, etc on my windows 7 desktop, but when I plug in the external drive I get an error and a prompt to "format the drive" so that windows can use it.
I plugged the external drive back into my failed laptop and with the ubuntu live cd can see the drive, but none of the folders display. I can cd "change directories" to all of the folders using a terminal, but still can't see them outside of the terminal. That is, with the ubuntu interface. I'm just trying to finish up recoverying these photos, which I thought I had done.
View 4 Replies
View Related
Jul 10, 2010
I am trying to dual boot my system. MS Vista and Debian lenny 5.05. Installed Vista first, need vista for voice recognition software. Installed Lenny second but grub does not see Vista. Installed NTFS-g3 so I can read and write to /dev/sdc1 where my vista is. But grub still does not detect it. Installed grub2 and upgraded from legacy but still grub2 does not see the vista partition.
View 6 Replies
View Related
Aug 17, 2010
i install devian squeeze with the netinstall iso, all work fine except for the auto-detect of my ethernet card.i have a mother asrock p4i45gv with an onboard ethernet card realtek rtl8139/810x family fast ethernet NIC.i try everithing, the ifconfig shows only lo, but ifconfig -a shows a eth0 any ideas?
View 12 Replies
View Related
Nov 12, 2009
lm_sensors failed after configuration by sensors-detect.
server3:~ # rclm_sensors start
Starting up sensors: failed
/etc/sysconfig/lm_sensors
[code]....
View 2 Replies
View Related
Sep 21, 2015
I use a 'wifi hotspot' provided by my mobile (android) phone for internet/email and to connect to my wifi capable HP p1102w printer. Installation and use of the printer worked perfectly until I bought a new phone, again android with 'wifi hotspot' capability. The wifi connection on my new phone works fine for internet and email but it totally fails to detect my printer.
I have tried to detect and connect to the printer using system-config-printer and using the HP utility hp-setup. Both fail to detect the printer on the 'new' wifi network.
The old network connection which detects the printer as expected gives the following output:
Code: Select allpat@debian:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 6c:3b:e5:91:ec:0c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[Code] ....
The new (problematic) network connection which fails to detect the printer gives the following output:
Code: Select allpat@debian:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 6c:3b:e5:91:ec:0c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[Code] ....
View 4 Replies
View Related
Apr 2, 2016
I am not able to use the touchpad, etc. on my laptop because the hardware is not supported until kernel 4.5. (This was confirmed by installing fedora-rawhide with 4.5: all the hardware problems were cleared up.) So I tried to compile a 4.5 kernel and install that in a testing version of Debian, but the hardware is still not working.
What I tried: copied the kernel boot config from the testing installation to the directory where the kernel was to be compiled, in order to keep the configuration of the current system. After compiling the kernel the first time I thought that perhaps the issue was that the right options for the new i2c-based hardware had not been selected in menuconfig and were not the default in the kernel config, so I compiled the kernel again, selecting the necessary hardware to be installed (and not as a module). But after the second (and third) kernel compiles the hardware still does not function (appears not to exist).
This is the first few times I've tried to compile a kernel, so I may be missing something obvious. After the second compile, I was wondering how to tell if the right kernel was in use, but grub only saw one 4.5 kernel (besides the original one) and I don't know where to look to see if the kernel has the different --revision=xyz it was assigned when running fakeroot make-kpkg. I was also wondering if it is possible to add the missing hardware by compiling the modules separately and adding them as boot options.
View 10 Replies
View Related
Jul 5, 2011
Its my liillte headache with my hsdpa modem. using wvdial i can connect to the net huawei e220l but NetworkManager is a different story. # lsusb | fgrep HuaweiBus 001 Device 010: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modemi',m ok with wvdial and its gui wrapper(gnome-ppp) .i just would like it to be functional since my noob bro
View 2 Replies
View Related
Oct 9, 2010
I have gone over the thread "Learn The DD Command Revised" (It was Fantastic) in the search for a solution to my query.
I have seen posted elsewhere that this code is supposed to be able to change the UUID number of NTFS partitions (useful when multi-booting with Grub2 and cloning partitions). Here is the code:
Code:
sudo dd if=/dev/urandom bs=80 count=1 | xxd -l 80 -c 8 | tail -1 | xxd -r - /dev/sda1
This is assuming that I want to change the UUID on the 1st partition on the 1st hard drive >>>sda1<<<
If I was trying to modify the 2nd partition on the 1st hard drive it would be >>>sda2<<<
[Code].....
NOTE: I was doing this while booting from Ubuntu's Live CD version 10.04.1 LTS (In case that is a factor)
View 10 Replies
View Related
Sep 4, 2010
where is uuid of partitions of raid0?
My box is centos 5.4 x86, and dual booting with windows 7. I need to make a ext3 partition between ntfs partition 2 and 3.
After making this ext prtition, I need uuid of this ext partition.
View 1 Replies
View Related
Jun 5, 2010
Someone (not me) recently installed some new distros on my HD. It seems that during the installation my swap partition was reformatted and a new UUID was assigned to it. I have the following questions:
1. I know that I have to change the swap partition UUID in /etc/fstab and /boot/grub/menu.lst of the affected distros. Is there anything else that needs to be changed?
2. I presume a similar change has to be made to the Grub 2 configuration, for those distros that use Grub 2. I have no experience using Grub 2 so how do I make the change or where can I find instructions to do it?
View 13 Replies
View Related