Ubuntu Servers :: GParted Has Renamed MD Devices?

Jun 28, 2011

I am running a test installation of Ubuntu 10.04 Server on a Virtual Machine (VBox specifically) in order practice recovering RAID problems. When I initialy created the RAID arrays I created a MD Device named "md0" with an ext4 file system and "/" mount point. My other RAID array was called "md1" and was used for swap.When loading GParted off of a bootable disk I noticed that the devices were changed from md0 and md1 to md127 and md126. I shut down the VM and on reboot grub rescue shows up saying that disk can not be found and using "ls" lists the MD devices as they appeared in GParted (md127 and md126).

I rebuilt the OS via importing an backup Appliance and repeated the same thing. Boot into Ubuntu, success, then sudo shutdown, boot into GParted, note md device name change,shutdown, boot into Ubuntu, grub rescue.Is there anyway to stop this from happening(in the event that GParted must be used on a Physical Machine). Or a way to revert the problem after GParted messes the system up?Edit: I talked with one individual who suggested changing the md device names to md 127 and md126, but I am looking for a more robust solution than taking a shot in the dark that GParted will set the same names on other systems.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Broken LVM After Gparted Renamed Partitions That Were PVs

Jun 26, 2011

My harddisk had one extended partition, sda2, split into several logical partitions: da6,sda5,sda7,sda8,sda9 in this order. sda6,sda8,sda9 were [the only] PVs in one [and only] volume group.

I tried to delete sda7 and to resize sda5 (both unrelated to the LVM setup) to take the freed space. I entered both changes in GParted and clicked 'apply'. It gave some error, but had apparently deleted sda7, without resizing sda5. I tried to resize sda5 again, it again gave an error again, but sda5 was resized. I did not save any logs from GParted. Then I saw that the partition names had changed to sda8,sda5,sda6,sda7, in this order.

Now when I run 'vgdisplay', I get the error "Couldn't find device with uuid ....". Running 'blkid' gives the uuids of sda5,sda7,sda9. According to GParted and fdisk, sda9 does not exist. Also, according to blkid, the uuid of sda7 is what used to be the uuid of sda8. I am very confused. As you could expect, I don't have backups, so... (I am now creating a copy of the whole disk, in case things go even more wrong)

View 2 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

Ubuntu :: Ldl 64 Bit Dll Renamed On 8.04?

Dec 29, 2010

Accidentally we happened to rename the ldl 64 bit library and since then no command has been working on the linux box, inlcung cp,move and su. How to recover from this?

View 1 Replies View Related

General :: Partition Gparted Fdisk / When Reduced The Size Of Some Linux Partitions Using Gparted?

Sep 18, 2009

I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.

The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.

When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.

When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.

When I tried it from Ubuntu installation or live cd, I received the following types of responses:

Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5

Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5

The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.

Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.

View 2 Replies View Related

Ubuntu :: Version 10.10 Should Be Renamed?

Jan 25, 2011

I've been an UBUNTU advocate and supporter since I switched to Ubunto v8.4. However, in my opinion, version 10.10 is the biggest piece of **** yet - everything is broken.

I have seven PC's at home: an office PC, a Media centre, two computers for the kid's, a milling machine running EMC2 and two laptops.

If I recall, v8.04 was okay and v8.10 gave me endless hassles. But I stuck with it, taught myself the basics, and got each of my machines doing what I needed them to do.

Upgrading from v8.10 to 9.04 to 9.10 to 10.4 all occurred effortlessly and without any issues.

However. both the Beta and final releases of v10.10 are extremely disappointing. Why do you guys need to release a "NEW" OS every six months? Why can you not fix / enhance the latest, best version?

Since upgrading to v10.10, ALL my PC's are broken in some way: Drive sharing is broken, my Media centre is broken (tuner cards won't lock onto signals - what is that?), VPN is broken, Remote Desktop is broken, printing doesn't work, sound is screwed.......And I certainly do not have the time and the patience to start from scratch trying to get everything working again - that's why I make backups (twice a month).

What are you guys doing? And please don't ask for logs and hardware specs - Everything was working great with v10.04.

Herewith a question to my fellow countryman Mark S - Wat gaan aan? Wat vang julle aan? Why change things that work(ed) perfectly fine? Maybe you should change the name for v10.10 to "Ubutu VISTA". That's exactly what made me (finally) dump Microsoft.

View 9 Replies View Related

Ubuntu :: Spreadsheet Becomes ZIP Folder When Renamed?

Aug 7, 2011

I had a really important spreadsheet with my student's grades in it. I wanted to rename it so I right clicked and renamed (at least that's what I thought I did). After I looked again, the file somehow became a zip folder. I inside the zip folder are a bunch of files but I can't the spreadsheet anywhere! Here are some screens:

View 2 Replies View Related

Ubuntu Servers :: Using Identical Devices With Udev?

Jan 12, 2010

I have two identical hard drives; same make, same manufacturer, same model, and same capacity, which I'm trying to run in a RAID1 mirroring scheme. The problem: configuration files for md arrays only lets me use device names, such as /dev/sdb and /dev/sdc. To keep these the same (and in the same order) when I boot I wanted to write a udev rule for them. Unfortunately, I have no way to differentiate between these two drives, as they seem to be identical. Normal methods of differentiating by size or model name wont work. I think I can use UUIDs; but I neither know how to get the UUID of a device/partition, nor do I know how to use it (if it is possible) in a udev rule.

Solution:

run
udevadm info --query=all --path=/sys/block/sdb # or whatever block dev

Look for and use "ID_SERIAL_SHORT" which is unique even for identically manufactured disks. Write a udev rule based on this property.

View 2 Replies View Related

Ubuntu Servers :: OpenVPN Local Devices Not Accessible

Nov 26, 2010

I've setup openVPN using bridging following these guides

[URL]

I'm running Ubuntu Server 10.10 My clients can connect and get their own IP within my ip range (192.168.1.x) They can ping each other and I've tested I can use the connection a lan game and a windows RDP connection. The problem is I cannot access any of the actual local network devices except the vpnServer. Is their something else that needs to be done to allow full network access?

View 5 Replies View Related

Ubuntu Servers :: Share The Internet Connection To Wireless Devices?

Mar 27, 2010

if i set up an older computer as a local DNS server for my home network, can i plug my wireless router into one of the ethernet ports to share the internet connection to my wireless devices?

View 2 Replies View Related

Ubuntu Servers :: Machine Name Not Showing In Router Attached Devices List?

Nov 17, 2010

As the title says the machine name is not showing up in the attached devices list on my router. Is there a file where I need to add the name? Or is this an issue with the router? The router finds all the other machine names on the network except my 3 servers.

Ubuntu Server 10.04 Lts
Ubuntu Server 10.10 Lts

View 3 Replies View Related

Fedora :: Accidentally Renamed A Batch Of Files To The Same Name?

May 26, 2010

I just did something stupid... I wanted to remove a numeric prefix from a bunch of files in a folder (EXT4 filesystem), and I ran the following Python commands to rename the files:

Code:
import os
currentdir = os.getcwd()

[code]...

View 7 Replies View Related

Fedora :: Finding A List Of Renamed Packages?

Sep 1, 2011

I get annoyed sometimes that from one Fedora release to another, some programs get renamed or put into different packages. Examples:

* Gnome's volume control applet. Used to be provided by gnome-media, now it's moved to control-center. Worse, the command itself was renamed from gnome-volume-control-applet to gnome-sound-applet, so I couldn't even try a `yum provides` search to locate it.

* Gnome's Disk Usage Analyzer tool. Used to be in a package by itself, baobab. Now it's provided by gnome-utils.

Is there a wiki or something where the full list of all renamed/repackaged programs can be found? I'm not a Gnome desktop user, so, while I'm sure all the packages I like from Gnome are just there out-of-the-box for most users, it doesn't help me very much. The volume control applet for example is extremely useful for other desktop environments (and Gnome itself really doesn't have much need for it anyway, since they have their own built into the window shell).

View 2 Replies View Related

General :: Files Don't Move Back To /var/log And Keep Getting Renamed?

Mar 15, 2010

I have this script that I use to find log files in the /var/log directory that are 2 days old, move them to /var/log/tmp, rename them to the system date.filename and move them back to /var/log. Everything seems to work as planned, except that the files don't get moved out of temp, and they keep getting rename. This leads to very long filenames such as:

2010-02-22.user_040.2010-03-05.user_040.2010-03-07.user_040.gz

What is it about this script that isn't moving it back to /var/log? Also, is there a better way of doing this than what I'm doing? Basically, I'm just trying to set up an audit trail on some of the files in /var/log, so that at the end of the month I can tar them, and then have our syslog server pick up the one giant monthly log.

Code:
# Create variables.
dir="/var/log"
tmp="$dir/tmp"
hostname="$(uname -n)"

[Code].....

View 8 Replies View Related

Ubuntu :: External Hard Disk Drive Gets Renamed With An Appended Underscore?

Jul 30, 2010

Almost every time I use my external Hdd the drive gets named with an appended underscore. this is the list from my /media folder.

/media$ ls
1CF44533F4451106 F Drive G Drive_ G Drive___ G Drive_____
E Drive G Drive G Drive__ G Drive____ G Drive______

i have tried to remove the directories in terminal by using sudo rmdir but this is the error i get:

sudo rmdir /media/g drive
rmdir: failed to remove `/media/g drive': No such file or directory

now each file in the /media folder has a white x on them and i don't not know what that means. but i attached a screen grab of the folder.

how to know how to delete all the underscored folders.

View 5 Replies View Related

Server :: Samba Permissions - Files & Directories Can't Be Renamed / Moved / Deleted

Feb 10, 2010

After what feels like weeks have tinkering around trying to get a Samba file server set up, I've finally given up! I have 4 drives and 2 groups:

1) Dev - Available to all users in both groups (normal and admin)
2) Misc - Available to users in admin group only
3) Admin - Available to users in admin group only
4) Accounts - Available to users in admin group only

Drives 1 and 2 are working fine, with the correct access rights. Drives 3 and 4 can be browsed by admins only, but no changes can be made at all - files & directories can't be renamed/moved/deleted. What is most confusing is that Drive 2 is set up exactly the same as Drives 3 and 4. The process I went through to get them working:

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Mainboard And Storage System - How Both Storage Devices Will Be Supported By Debian

Mar 11, 2011

I'm interested in buying a new hardware for my company. The old server (now 10 years old) should be replaced with a new one. Till now, I was looking on different hardware suppliers, boards and different other places. I found a Tyan board [URL]. The hardware spec is quite interesting and the board would fullfill our claims.

how both storage devices will be supported by Ubuntu or Debian??

- SATA-Controller: AMD SP5100
- SAS-Controller: LSI 1068E

View 4 Replies View Related

Debian Installation :: Booting Debian With Ubuntu/XP Triple / Warning Bootdevice May Be Renamed?

Mar 6, 2010

I had (and still do) a working dual-boot XP/Karmic (GRUB version 1.97 beta4). I shrank the Ubuntu partition and set up partitions and installed Debian 5.04. When I got to the point of installing GRUB, I told Debian to install grub to MBR. On rebooting, Ubuntu was not an option on the NEW (looked different) grub menu.Maybe it was GRUB2? Could boot to either XP or Debian though.

Thought easiest thing was to reinstall Ubuntu since it seems to "see" other OS's more reliably. So I did, and installed GRUB again during its install to MBR. Then, all three were in the GRUB menu (version 1.97 beta4 again), but when tried booting to Debian, got an error (forget the wording), but think it was because the partitions got renumbered when installing Ubuntu.

SO, reinstalled Debian, reformatting the partitions but not deleting them first so the numbering stayed the same. When got to the part for installing GRUB, I told it to skip (I got some kind of error that said "Install failed. This is a fatal error. You will have to boot with an external device..."), hoping now the current GRUB would work.

Now, all three were on the GRUB menu, but when I tried to boot Debian, I got "no such device" and a list of numbers/letters after it. And "press any key to continue", which takes you back to the GRUB menu (version 1.97 beta4, by the way).

O.K., did sudo update-grub in ubuntu and rebooted. Now, Debian 5.04 shows as last entry in GRUB, and choosing it starts a boot, which hangs at "Begin: Waiting for root file system....".

Waiting long enough at the "Waiting for root file system..." hang results in a series of notifications:

WARNING bootdevice may be renamed. Try root=dev/hda3
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Check root= (did the sytem wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda3 does not exist. Dropping to a shell!

In Gparted, the partition with Debian root is hdc3, although on the GRUB menu it's listed as /dev/sda3. However, in Gparted the Windows partition is hdc1 and on GRUB it's /dev/sda1, and it boots fine.....

Is my Debian install just borked? Did telling it to skip installing a bootloader (I got some kind of error that said "Install failed. This is a fatal error. You will have to boot with an external device..." ruin it?

If skipping the bootloader install did ruin it, how do you install Debian without borking your current GRUB? That's what happened the first time.

View 5 Replies View Related

Fedora Servers :: Gnbd_import ERROR "could Not Find Gnbd Registered In /proc/devices"

Jun 9, 2009

I am trying to import a gfs2 filesystem using gnbd_import, but I get the error: gnbd_import: ERROR could not find gnbd registered in /proc/devices. This probably means that you have not loaded the gnbd module. yum provides gnbd.ko does not list any packages. Where can I find the gnbd module?

View 2 Replies View Related

Fedora :: Files Couldn't Be Renamed Or Deleted, The File Manager Said That The Files Didn't Exist - Very Weird?

Jan 13, 2010

On a KDE4 environment after downloading some music from rapidshare with JDownloader the archives self-extracted with the symbol in some of the file names. Those files couldn't be renamed or deleted, the file manager said that the files didn't exist - very weird. The files should have had some swedish characters in their file names. Now I'm stuck with those files on my machine. Anyone knows how to get rid of them?

View 2 Replies View Related

CentOS 5 Hardware :: SW RAID - Raid Devices Larger Than Total Devices

Dec 7, 2010

I'm working on a server and noticed that the to RAID5 setup is showing 4 Raid devices but only 3 Total devices. It's on a fully updated CentOS 5 system that only has three SATA drives, as it can not hold anymore. I've done some researching but am unable to remove the fourth device, which is listed as removed. The full output of `mdadm -D /dev/md2` can be see below. I've never run into this situation before.Anyone have any pointers on how I can reduced the Raid Devices from 4 to 3? I have tried

mdadm /dev/md2 -r failed
mdadm /dev/md2 -r detached

but neither work and since there is no block device listed I'm not quite sure how to get things back in sync so it's only seeing the three drives.

/dev/md2:
Version : 0.90
Creation Time : Tue May 25 11:07:04 2010
Raid Level : raid5

[code]....

View 8 Replies View Related

Ubuntu :: How To Run Gparted On 9.10

Apr 17, 2010

How can i rung 'gparted' on ubuntu 9.10? I tried 'sudo gparted', and I look for it in 'System->Administration'. But both doew not work.

View 9 Replies View Related

Ubuntu :: Unable To Use Gparted?

Mar 29, 2010

Whatever I do, I get this:

Code:
WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.

View 9 Replies View Related

Ubuntu :: Booting - After Using Gparted ?

May 5, 2010

After using Gparted to create a new partition on my hard drive, the system(lucid) sometimes doesnt boot properly and sometimes it does boot correctly ..

This is how it looks now:

So the pc starts up .. and just before you (normally) see the ubuntu logo i see a row of sentences passing by fast, and then the screen becomes black.

View 9 Replies View Related

Ubuntu :: Missing All Files After GParted?

Jan 1, 2010

I'm using Ubuntu 9.10 AMD/64. I moved my data partition with GParted, resulting this message from GParted

... ( omiting all previous reported ok, gparted end of message: )
copiar 65536 sectores usando un tama�o de bloque de 65536 sectores 00:00:02 ( �XITO ) 65536 de 65536 copiados 1.43313 segundos El tama�o de bloque

[code]....

View 1 Replies View Related

Ubuntu :: Unable To Install GParted?

Jan 15, 2010

I just installed a dual boot of ubuntu with XP on my laptop. I'm planning on deleting XP altogether and keeping ubuntu. Now, as I understand the best way to do this is to go to GParted, delete the ntfs partition, and format it to ext3. Does this sound right? Now the problem is I can't seem to get GParted installed. I go to the terminal window and type sudo apt-get install gparted but it doesn't work. I get the following messege.

Reading package lists... Done
Building dependency tree
Reading state information.. Done
E: Couldn't find package gparte

View 9 Replies View Related

Ubuntu :: Way To Manually Install GParted?

Jan 27, 2010

I have a Ubuntu system where the internet has been whitelisted so that I can't use Synaptic. I was wondering if there was a way to install GParted without Synaptic? Do something with the ISO file perhaps? Or would this turn out to be quite complicated?

View 9 Replies View Related

Ubuntu Installation :: XFS 2nd HDD Gparted Mythbuntu 9.10

Feb 5, 2010

I'm trying to format/partition my second HDD with xfs using gparted, most of the file system type options are greyed out any idea why? How to resolve?

View 7 Replies View Related

Ubuntu :: Partitions Not Showing Up In Gparted?

Mar 7, 2010

I have what is a weird problem, at least I think it is. I deleted some files and now my partitions do not show up in Gparted. Instead, the entire disk shows up as unallocated space. I am still able to run every partition, one of which is ubuntu and another which is Windows without any other apparent problems. here is my fdisk -l:

Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders

[code]....

View 9 Replies View Related

Ubuntu :: GParted - Allocate All Of Space Only To W7 And One OS?

Mar 16, 2010

I have a messed up system, or so I think. I have all sorts of partition issues that I just don't understand. I may have installed Ubuntu multipe times (GRUB show 5+ copys) along side my copy of W7. GParted show two Unused partition spaces, one massive on that it cant read completely (ntfs), a LinuxSwap, something called (ext4) and something called (extended).

What is going on? I recently deleted a virtual machine, but it looked like this even before this. How can I allocate all of my space only to W7 and one Ubuntu OS? Pic of GParted is attached.

View 8 Replies View Related







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