Hardware :: Adding / Removing Drive Names Changed
Sep 29, 2010
After a couple of years, I decided this weekend to replace my old slackware 10.2 with the latest stable version 13.1 64 bit. The change log tells me that with the new kernel 2.6, the old IDE/ATA system has been removed and the libata is used instead. That /dev/hda become /dev/sda and so on. No problem sofar, however ...
My FIRST hardware configuration was:
One SATA drives connected to the onboard SATA controller [A]
Two PATA drive connected to PCI IDE controller 1 [B & C]
Two PATA drive connected to PCI IDE controller 2 [D & E]
One PATA drive connected to the onboard IDE controller [F]
So initially the system had 6 disk drives. Booting from the Slackware install dvd, I found out that the drives are detected in the following order.
Onboard SATA controller
PCI IDE Controllers
Onboard IDE Controller
And the drives are get names in the following order:
/dev/sda : SATA disk @ Onboard SATA controller
/dev/sdb : first PATA disk @ PCI IDE controller 1
/dev/sdc : seconde PATA disk @ PCI IDE controller 1
/dev/sdd : first PATA disk @ PCI IDE controller 2
/dev/sde : seconde PATA disk @ PCI IDE controller 2
/dev/sdf : PATA disk @ Onboard IDE controller 1
sda upto sde are configured to us with LVM, so 4 disks are added to the volume group.
sdf is where Slackware is installed (sdf1 = swap; sdf5 = /boot; sdf6 /; sdf7 = /usr; sdf8 = /home; sdf9 = /var; sdf10 = /tmp)
Here is the problem:
When a 7th disk is added (another SATA drive @ Onboard SATA controller) then all names are changed like:
sda remains the same
sdb new added SATA drive
sdb -> sdc
sdc -> sdd
sdd -> sdf
sdf -> sdg
Obviously booting without LILO parameters results in a kernel panic, so I booted with: Linux boot=/dev/sdg root=/dev/sdg6. This does not give the kernel panic, but results in an option to check a drive and gives an option ctrl+d to boot normally. However it reboots and I get stuck at the same again.
How does LVM handle the naming shift of the drives? The 4 drives that are part of the volume group contain critical data!!! If needed, I can reinstall Slackware again from dvd with all 7 drives attached (to avoid naming shift), but how do I recover my volume group? What if one of the drives dies or is removed, then naming shift happens again.
View 1 Replies
ADVERTISEMENT
Mar 6, 2010
Server (LVM):
500GB
320GB
I want to install a new 500GB and remove the 320GB, of course moving the data on the 320GB to the new 500GB. I have an external 1TB in enclosure that I can plug in to move the data over, but how do I move only the data on the 320GB to it?? I found this [URL]. But that is only to move the data to a new replacement disk, but my external is only temporary to move the data from the 320GB until I remove it+install 500GB, then move the data back. Not enough space on the 500GB already on server to move everything from 320GB to it, just in case that seemed the obvious thing to do.
View 1 Replies
View Related
Mar 13, 2011
command for adding a user and removing a user.
View 3 Replies
View Related
Sep 14, 2009
My Linux OS is mounted on a LVM spread across an 8GB SD Card and a 4GB Flash Drive. I've used about 6GB and have about 2.xGB left. I'm trying to download Sabayon and I don't quite have enough space to store DVD size ISO. I have extra 2GB Flash Drive that I am not using and can converted to a PV and that would give me the necessary space I need to store the ISO. Now the ISO would spread from 4GB Flash to my 2GB Flash. My question is complicated, so bare with me. I want to know by adding 2GB PV into LogGroup and then remove it from the same LogGroup and then added back later. Would the data still exists and accessible? What happens to the data when I remove it the first time, would be automatically deleted, or stay hidden to plug back in?
View 4 Replies
View Related
Mar 7, 2011
I want to try out ubuntu with xfce, thing is, I don't know how to safely add and remove a desktop environment. Anyone know how to do this so I don't break ubuntu?
I don't want to install xubuntu, partially because I want to learn how to do this stuff myself.
What is a safe way of installing xfce and removing it if I didn't like it?
View 5 Replies
View Related
Dec 3, 2009
I am deciding to whether use OSPF or RIPv2 on my network. The key point for me is how good each of them are in dynamically adding and removing nodes. I am pretty sure that OSPF works well if a node is suddenly dropped or a new one is introduced( Please correct me if I am wrong). how good RIPv2 is at this.
View 1 Replies
View Related
Jul 13, 2010
I am going to remove root access via SSH which seems fine but I don't know how to add a new user, do I have to create a group first or are there existing groups I can add a user to, and does it matter which group I add a user to if I want this user to have root access with sudo?
View 11 Replies
View Related
Jan 5, 2010
i use a fedora distribution, when accessing administrator->add remove software (GUI) is there a way to know the download progress/download rate of the selected packages ? as i cant see any progress or indication on what is happening there..i know i can use the terminal to get packages but i was wondering if there is a way to see the progress when using the GUI instead of the downloading icon on the button left. as for ex an ubuntu distribution shows a progress of each package status while downloading as now i select the packages and it only tells me that it is downloading but on what speed or what are the packages left/downloaded i don't know.
View 2 Replies
View Related
May 10, 2010
I need to expand one logical volume which is now in 99% utilization. The volume group only have 5GB and they need 25GB more so that I can add 30GB. The disks will be coming from SAN Storage. If the SAN Admin can successfully add the disks to the server and I can see it, should I still partition it and change the type to Linux LVM?
I have tried just doing a pvcreate without partitioning and do a vgextend and it works without actually partitioning the disks. But when I do "fdisk -l", it actually shows that the disk don't have partition.
Whether I need to partition the drive to 8e (Linux LVM) before doing? Which one is better? Below are my steps and please let me know if this the correct one.
Here's my steps:
1.) dmesg | grep sd (to check the newly added disks)
2.) fdisk /dev/sdx (create primary partition and assign Linux LVM to type)
3.) pvcreate /dev/sdx
4.) vgextend VolumeName /dev/sdx
5.) lvextend -L+30G Volume01 /dev/Volume01/lv01
6.) umount /dev/Volume01/lv01
7.) resize2fs /dev/Volume01/lv01
8.) mount /dev/Volume01/lv01 /lv01
9.) df -h (check if resized successfully)
View 9 Replies
View Related
Mar 29, 2011
I have a dual boot computer with slackware_64 13.1 and windows.
I have a 120G ide hard drive that I need to add to my computer.
Adding this hard drive changes the drive device id's and slackware won't boot.
as installed, my drives look like this:
When I add the extra hard drive, it looks like this:
I know there is a way to make an initrid and to use the uuid identifications for the drives, and even use labels instead of the long uuid's, but I'm unfamiliar with this process, so I was hoping somebody that's done this before might point me in the right direction.
View 11 Replies
View Related
Nov 11, 2010
i recently restarted my computer so i baked up all my files to my external terabite restarted my computer pluged in my 2 drives and formated the wrong one DAMB so i lost every file i ever downloaded DAMB i used photorec to get it all back but all my files have system names eg f12223/f12224 etc but when i load the files to media player the correct name i displayed in the media player so is there a program i can get that will rename all the files on my drive with the names the have in propertys
View 2 Replies
View Related
Dec 15, 2010
I'm trying to install Xubuntu 10.10 onto a machine with 3 hard drives. My drives are (rather, should be) like this:
/dev/sdaX: Windows and Windows apps/games
/dev/sdbX: Data
/dev/sdcX: Blank drive for Linux.
[code]....
View 1 Replies
View Related
May 6, 2011
i recently bought an external 2 TB usb drive and connected it to a philips dvd player. all movies play just fine but I noticed that folder and file names are not displayed on the screen in alphabetical order but in the order they've been copied to the drive.now, i found the way to fix it by using this program: URl...the thing is it won't start in wine.so, is there any way to sort directory tables under ubuntu?
View 4 Replies
View Related
Jul 1, 2011
I have a mounted external hard drive. After running Simple Backup, the system added a "_" to the end of the external hard drive's name. It is causing my online backup service to recognize the new name as a new drive. How can I eliminate the "_" and restore my system to having the one external hard drive?
Apparently, Simple Backup replicated the hard drive and added the "_" to the name. The original name still shows as a mounted drive but now the system says I don't have permissions to access it. It appears in "computer - file system - media" with a white X on the folder.
View 1 Replies
View Related
Nov 16, 2010
I installed Ubuntu 9.10 on half of my D drive about a year ago, but realized that I don't really need all the space on the Ubuntu partition. I have Windows Visa Home Premium installed on my C drive. Is there any way to re-size the drive on which I had installed Ubuntu without removing it?
View 4 Replies
View Related
Oct 20, 2010
The search function does not like "U3" so I cannot locate the latest in removing it. Has anyone figured out how to do so using Linux? (Explosive, maybe, but was the Stupix worm hidden in flash drives using the U3 tools?)
View 9 Replies
View Related
Jun 25, 2011
My original config:
**Partition/Drive info**
/dev/sda Boot----------> 298.09 GB Hitachi HDT72503
20GB /
16GB /swap
50GB /var
[code]....
1. For some odd reason I tried connecting to a samba share as I had it setup and I could not.
2. Looked at webmin and it said my whole /dev/md0 RAID5 was being used..about 7.8TBs. decided to check my RAID5 setup and drives and noticed
**NEW Partition/Drive info**
/dev/sda Raid Array 1 1.82 TB SAMSUNG HD204UI
/dev/sdb Raid Array 1 1.82 TB SAMSUNG HD204UI
/dev/sdc1 /
[code]....
I didn't connect any new drives or anything. I had checked my "mdadm.conf" and "fstab" and everything looked the same?
View 3 Replies
View Related
Jan 22, 2010
I did an installation of SUSE 11.2 on a new SCSI hard drive. Keeping the old hard drive separate. I remembered there was some info on the old hard drive I wanted.
I added this to the system and mounted a partition. I then copied the data over. Then I umounted the partition rebooted the machine and removed the hard drive.
However the machine will now not boot without this hard drive even though its not mounted. Not sure what the error message im given means I think it could be trying to fchk it.
Do I need to do something more like remove /dev/sdd ?
View 4 Replies
View Related
Jul 27, 2011
My little server box running 11.04 currently has two drives configured in a LVM, a 160gb internal drive and a 1tb usb drive.I have three logical volumes root and swap on the 160gb and backup on the 1tb. I am going to be changing the internal drive for a 8gb SSD and would like to keep the data currently on the external, is it possible to do this?
View 6 Replies
View Related
Nov 29, 2009
I have a flash drive that I used on my old netbook to temporally hold a copy of ubuntu as the netbooks internal drive was dead. I have since got a new netbook and wanted to return the flash drive to simple removable storage. I've re-partitioned it back to 14gb fat32 2gb ext2 and everything is working fine. Except that if I try to boot with the key inserted grub loads then errors imminently (sort of obvious if grub is still in the MBR but there is no menu.lst file anymore...) Googling for removal of GRUB just gives me loads of hits for how to restore windows mbrs when you dont want to keep linux anymore. None of these methods seem to have any targeting. I need to remove grub from sdb while keeping it intact in sda. sdb shouldn't even be bootable, so that when boot from usb is higher in the bios than boot from hdd the usb key is ignored and the hdd is booted as normal.
View 3 Replies
View Related
Mar 9, 2011
I have a 1TB hard drive which is formatted with FAT32. Attempting to make a new partition I clicked the format drive button in Disc Utility. I chose Master Boot Record and something was written to the drive. So now I can't mount the drive and Disc Utility says that there aren't any partitions. I don't think this can be true because I had 200 GB of data on the drive and it would have taken longer to delete all that. At least I think...
View 7 Replies
View Related
Mar 13, 2011
I have been attempting to load the latest version of Shotwell only to find that it is not available on 10.04. Consequently I attempted to load 10.10 and found that it would not load from my DVD. Similarly 11.04 fell at the wayside. Tried downloading both OSs again and again but each time failure to load.
Having come across reference to test drive I thought that I would give it a go and followed the instructions on this. It appeared to download OK but then would not display the OS. Decided to remove but despite it appearing to be removed (from the information displayed in the terminal) it still is loitering on the menu.
Since that failure I think that it could be related I am now being continuously asked to authenticate the keyring, something that from my initial install I have never needed to use.
View 2 Replies
View Related
Feb 20, 2011
I'm looking for a way to quickly remove all data/partitions/boot records from my hard drives while running linux (distribution is irelevant). There are lots of ways to do this that I know of, but they all have some problems. Here's a list of what I've tried/thought of already. The most obvious is fdisk: Simply delete all the partitions. This usually works just fine and is very quick, but there are times it just doesn't....I'm realy not sure what gets left behind...I remove the MBR as well..but whatever it is, it's in the way. A couple other options are:
dd if=/dev/zero of=/dev/sdb bs=1M
shred -vfz -n 1 /dev/sdb
Both of these approaches are great if you're selling the components and want to make it very difficult for anyone to recover data. The draw-back is they take so very long to run. I've got four 1.5 TB drives that I've been writing zeros to for 2 days now. If you thought watching grass grow or paint drying was boring. A hundred years ago or so, when I was doing tech support for Windows 95 users we used this nifty dos-based debug script to wipe the hard drive. It was sort-of a last resort thing, but it worked beautifully, most of the time. If the customer had already formated, fdisked, fdisk /mbr, reinstalled Windows, but still couldn't get the thing to work, this would clean the drive so you could do a fresh install.
Just in case someone wants this, I'll post it. To use: first boot to some type of DOS environment in which you have the program "debug".
debug
-F 200 L1000 0
-A CS:100
xxxx:0100 MOV AX,301
xxxx:0103 MOV BX,200
xxxx:0106 MOV CX,1
xxxx:0109 MOV DX,80
NOTE: Type 80 for the primary hard drive - HD 0,
or type 81 for the secondary hard drive - HD 1.
In most cases, the primary hard drive is required 80.
xxxx:010C INT 13
xxxx:010E INT 20
xxxx:0110 (Leave this line blank. Press the <Enter> key to continue.)
-G
The message Program terminated normally appears. How to do something like that while running linux?
View 9 Replies
View Related
Jul 5, 2011
I have a 7.9 TB logical volume I've created from 8 1 TB RAID 0 devices. The volume is formatted with XFS so I can resize when ready. However, I think I want to do something that is not possible. I have 2.5 TB free on my logical volume. I'd like to shrink the volume down to be 6 TB by getting rid of 2 of the 1 TB devices in the physical volume. However pvmove seems to require free extents in order to work. Do I need to add 6 TB of storage, pvmove everything onto it, and then decommission the original 8 1 TB physical devices from the volume?
View 5 Replies
View Related
Dec 3, 2009
I have a nightly scheduled script which creates a $vhostname directory under /mnt, mounts a windows box pointing to /mnt/$vhostname then rsyncs (pulls) some files/folders from the mount point. After this, I want to unmount the drive and remove the /mnt/$vhostname directory. Problem is that removing the /mnt/$vhostname directory sometimes ends up deleting all the files on the source! Example of script (stripped out lots of superfluous stuff):
Code:
vHOSTNAME='testhost'
vRSYNCFLAGS='-ahvz --inplace'
/bin/mkdir -p /mnt/${vHOSTNAME}
/usr/bin/rsync ${vRSYNCFLAGS} /mnt/${vHOSTNAME}/KAVSHARE /backups3/${vHOSTNAME}/
/bin/umount -l /mnt/${vHOSTNAME}
/bin/rm -Rf /mnt/${vHOSTNAME}
It seems that my umount line isn't disconnecting the mount, leaving the following line to literally delete all directories, recursively. Is there a way of safely just deleting the directory (ie: mount link) without linux accidentally trashing the whole source?
View 3 Replies
View Related
Sep 16, 2010
I took some videos off a usb flash drive, then went and selected " safely remove usb" and the light continued to blink on the flashdrive, I pulled it out any way, and the root folder turned red... everything seems ok, but how do you know when it's ok to safely remove a usb devise ?
View 3 Replies
View Related
Oct 23, 2010
I am having a problem booting my PC after adding a new SATA drive.
The PC has 3 drives.
SDA is a 500Gb SATA drive
SDB is a 1Tb SATA drive
SDC is a 160Gb IDE drive
The PC boots from the 160Gb IDE drive.
If I now install a 2Tb SATA drive the boot fails, it starts off OK as in the Motherboard boots from the IDE drive but sometime into the boot the / directory cannot be found.
If I boot from a live disk and check out the disks with gparted, I find that the new 2 Tb SAta drive is SDC and he 160Gb IDE drive is now SDD. I expect this is my problem but I cannot work out how to change it.
Note fstab is using UUID designations - not sure if this is relevant.
View 4 Replies
View Related
Jan 23, 2011
I'm trying to get a second drive configured. I wasnt to use this to store pictures movie s, and have the ability to share them across the network.
Main drive is SATA 80 Gig New Second drive SATA 1 Tb I can see both drives in the bios, They show up in g parted I've formatted and partitioned the drive and and every time I try to create a folder or share in SAMBA it tells me the I'm not the owner. I thought I could install the second drive and then partition the drive and I would be good to go like windows this was not the case.
View 1 Replies
View Related
Jul 3, 2011
I'm using ubuntu 10.10 and I would like to add a drive to grub. I have windows xp installed on the other drive, but in order to get to it right now I need to change drive priority in the bios. So how do I go about adding this new windows drive to grub?
View 3 Replies
View Related
Jun 24, 2010
I've just bought a reconditioned PC but the HDD is of very small capacity. I have the hard drive from my old
PC before it died, and it has all my work on it. Can I simply cable up my old HDD in my new-ish PC so that I can access all the material on my old hard drive; the old drive is much larger and has spare capacity on it which I would like to use. Both HDDs are IDE, and the OS is Ubuntu 10.4.
View 6 Replies
View Related