Server :: Hard Drive Device Assignment Not Static
Jun 23, 2011
Any basic description of how linux assigns drive letters? I understand that a drive letter assignment is not static. If I add a drive between /dev/sda and /dev/sdb, my /dev/sdb will become /dev/sdc and the new drive will become /dev/sdb. I have a hot swap tray and have come into some unexpected behavior. I removed /dev/sde from the hot swap tray and then loaded another drive into this same tray. When I mounted the new drive with options in fstab, it wouldn't mount because the new drive was /dev/sdf, not /dev/sde. Apparently, linux is looking at the id of the drive in addition to it's place in the BIOS chain.
My fstab entry is:
/dev/sde /backups auto noauto,rw,noexec,async,user 0 0
I was avoiding using UUIDs in the fstab so that new HDDs would not have to be "registered" in the fstab prior to use. Is there a way to tell linux (or fstab) whatever drive is plugged into SATA channel X mount to /mountpoint?
View 4 Replies
ADVERTISEMENT
Jun 6, 2011
I'm using an external USB drive to perform system backups. The script I'm using has a mount command - mount /dev/sdcx /systembak, it works fine until the external drive is mounted into a different USB port which causes the device path to change and the script needs to be modified to reflect that change. Looking in the /dev/disk/ directory I see ./by-id ./by-label ./by-path ./by-uuid. I've been able to mount the disk using one of the device pointers in those directories; are any of those device pointers static or do they change every time the USB disk is plugged into a different USB port.
OS: RHEL/CentOS
View 4 Replies
View Related
Jul 25, 2010
I have 4 SATA hard drives, and they are named sda, sdb, sdc and sdd. My problem is that the drives always randomly switch between these names when I restart my system. It is not really a problem as far as mounting, because I use the UUID option. I'm using the sensors applet to monitor the temps of the hard drives, and I can never tell which one is which, because the drive names are always changing.Is there any way to have the drives named the same way every time?
View 3 Replies
View Related
Sep 13, 2010
ok I am using Debian 4 bigmem and I set up static ip for my box. This is for a class and we will be moving the hard drives around the lab to different computers. My question is what do I configure to get Debian to be ok with my using different nics at different times.
My first time I used it, I had eth0, but now I'm on a different computer (same type of hardware on all systems) but my nic is now eth1... And I had to set up static again for that nic. How can I have it just maintain a static ip for whatever nic/mac address on the computer that my hard drive happens to be put on?
View 1 Replies
View Related
Sep 13, 2010
I am using Debian 4 bigmem and I set up static ip for my box. This is for a class and we will be moving the hard drives around the lab to different computers. My question is what do I configure to get Debian to be ok with my using different nics at different times. My first time I used it, I had eth0, but now I'm on a different computer (same type of hardware on all systems) but my nic is now eth1... And I had to set up static again for that nic. How can I have it just maintain a static ip for whatever nic/mac address on the computer that my hard drive happens to be put on?
View 5 Replies
View Related
May 5, 2011
I have a printer that is not getting a device node assigned at boot.The printer is attached with a USB to Parallel (IEEE-1284) adapter cable.When I plug in the usb cable when the machine is running, the printer is assigned the device node: /dev/usb/lp0
I am guessing that during startup, the printer device is not detected since it is plugged in over an adapter cable which may be considered a device in itself?This is for a retail store, and we rely on the printer to pop the cash drawer open, so it kinda has to work without a "secret handshake".Unfortunately our workstations do not have Parallel ports. I would be happy to share terminal output, udev info, I'll write you a poem but I could sure use a helping hand- I'm stumped!
View 5 Replies
View Related
Aug 11, 2010
I am setting up a Linux laptop for my parents, and want to also create some backup scripts to allow them to easily back up to an external hard drive. [And for them to be able to use it, it has to be super simple.]
For security purposes (should the external drive ever get lost or stolen), I want to encrypt the entire device using TrueCrypt. That means my scripts will have to use TrueCrypt to mount the backup volume using the device name. [Right?]
Now to the actual question(s): 1) Is there a way to ensure that an external hard drive will ALWAYS be assigned the same device name when plugged in? [That would be the simplest solution for me.]
2) Alternatively, is there a way (using bash scripting) to "find" the device name of a particular external hard drive, even if it might not be known in advance.
View 2 Replies
View Related
Aug 29, 2010
This isnt a linux related question as such, but I'd still like to ask.
I have purchased a 1tb external usb hard drive, which came with its own power supply, and the HD device is connected to the power mains 24/7.
However, there is no on/off switch on the actual device, and I dont want to have it permantly connected to my computer, perhaps only for an hour or so everyday.
Could I harm the usb HD by regularly pullling its usb cable from the computer usb port? (ofcourse I would unmount it first).
View 4 Replies
View Related
Sep 10, 2010
I got a sort of usb connected device(not an external enclosure) so i can connect a sata hard drive into a machine that only has ide connections but the drive is not mounting. I am not very good at mounting slave hard drives anyway ,,,,never been able to get one happening without help. I am wanting to read this drive as i killed another desktop machine(i think the mb) and i need the data off the hard drive. The drive is shown in a directory and in the media directory. Can't think of what else sorry as i am so tired from testing everything out of the machine that i killed.....
View 4 Replies
View Related
Sep 11, 2010
I have been trying to install centos on my hp servers and when i get to partitions my hard drives the OS does not detect any harddrives. I have 4 scsi drives and i believe a intergrated smart array controller.
View 1 Replies
View Related
Jan 25, 2010
After connecting, dmesg shows:
Code:
After that, there are no /dev/sd* entries. the hard drive works as expected on my windows box. how can i mount this drive?
View 7 Replies
View Related
Mar 18, 2011
I have a Linux application(ProMAX 5000) running in a virtual Machine on my windows OS. I am using an external Hard drive of 250G in ext2 file system as my device for large data read, write & execute file system. I have already mounted the device from /etc/fstab. But i want my application to access this device as a Primary data storage device OR Secondary storage device. What command will i invoke to partition this 250G drive as my primary or secondary storage device.
View 1 Replies
View Related
Feb 28, 2010
The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.
[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21
[19712.145347] usb 2-2: configuration #1 chosen from 1 choice
[19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices
[code]....
I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.
View 4 Replies
View Related
Jan 15, 2010
I've a DHCP server in RHEL 5 and 100+ users in my network. I mapped 30 users MAC address with ip. Rest are getting ip address automatically. In my network, users tend to move from one department to another frequently. I've created scopes according to departments. (i.e. Dept A - 172.19.54.10-172.19.54.30 and so on for other departments).
1) I want to configure DHCP server in this way, that a client have to autheticated by DHCP server before receive and IP address.
2) Second, Whether DHCP server have free IPs in scope, but only clients can obtain IPs those MACs are mapped, rest should not without authentication or authorization.
View 2 Replies
View Related
Jan 21, 2010
A DHCP server in RHEL 5 and 100+ users in my network. I mapped 30 users MAC address with ip. Rest are getting ip address automatically. In my network, users tend to move from one department to another frequently. I've created scopes according to departments. (i.e. Dept A - 172.19.54.10-172.19.54.30 and so on for other departments).1) I want to configure DHCP server in this way, that a client have to autheticated by DHCP server before receive and IP address.2) Second, Whether DHCP server have free IPs in scope, but only clients can obtain IPs those MACs are mapped, rest should not without authentication or authorization
View 2 Replies
View Related
Apr 8, 2011
I am trying to install Ubuntu to an external usb hard drive (WD Elements SE). I am also choosing to install the grub bootloader to this disk (/dev/sdb) because I do not want anything modified on the internal drive. The installation appears to go okay, but when I try to boot to the usb drive, I get the error, "no boot sector on usb device" and it immediately falls back to my interal drive. I have tried this installation with both 10.10 (amd64) and 11.04 (amd64). How can I fix this?
View 7 Replies
View Related
Jan 25, 2010
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
View 2 Replies
View Related
Mar 16, 2010
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
View 3 Replies
View Related
Jul 3, 2010
pls suggest me how to mirroring two hard disk drive in rhel9 server.i can do raid on those hard drive but user requer mirroring.so pls help how could i do this, mirror two hard drive.
View 2 Replies
View Related
Mar 13, 2011
I currently have a centos 4.4 I believe running with a 250GB hard drive. I want to make an image of that hard drive. I have tried removing the drive and connecting it to my windows pc using an adapter that would allow my windows machine run the hard drive as it was a regular external hard drive. Of course windows doesn't reconize that drive since it is linux partitioned. I am thinking that I need to have the hard drive inthe box I am wanting to copy and put in a blank drive in the box that I want to copy to. And boot from a live CD and use cat or dd to copy it. I have seen the commands before bust I am thinking this is the only way. Basically I am wanting to have a duplicate of the drive and build a whole new server that is already all setup.I will just change the host name and assign it another Public facing UP. Is this correct? Oh, and the new server will have different hardware. Might even be AMD or intel different from source or destination.
View 12 Replies
View Related
Jul 23, 2010
I have two identical 160GB hard drives and I'm planning on setting up a server, probably ubuntu, for Glassfish, mysql and subversion. ince I'm using those applications I'm assuming I should have a large var partition for mysql, and /opt for glassfish and I'm not sure about subversion. Is there a good partition layout you can suggest for me for my 2 drives?
View 1 Replies
View Related
May 1, 2010
Trying to install Fedora 12 using the 6 CDs. Trying to install on an older x86 box.Problem is that when detecting my hard drive, Fedora 12 recognizes it as a sda hard drive instead of hda hard drive. I have no SCSI connected to my computer what so ever. It's an old fashion PATA Western Digital hard drive.If I proceed with the install, Fedora 12 only installs 200MB of the OS from the first CD only. No options for additional software or anything.
View 1 Replies
View Related
Mar 21, 2009
Sometimes when I do anything write heavy such as transferring backup or downloading large files from the net, the machine crashes almost completely.
View 8 Replies
View Related
Oct 10, 2010
I just installed Ubuntu 10.10 server on my server computer. I have all my files on separate hard drives and am trying to find them (I am fairly new to linux). These hard drives were unplugged during the installation. After I was done installing I shut it down and plugged them in. They are NTFS format. Will they automatically mount? If so where are they? If they do not automatically mount how can I mount them?
View 1 Replies
View Related
Oct 27, 2009
I have a linux box that I'm using as a ADSL router (slack 12.1).Until recently I had two hard drives in it, one for linux, and one for storing movies, music, etc.So, I have just bought another 1,5 TB disk. My plan was to add it to the same mount location: /opt/abram to expand my storage disk, only to come to conclusion that this can't be done. OK, it actually makes sense, if I thought about it I would realise it before. Anyway, what else can I do? Is there a way to add new drive to existing one in a way that would result in one 2,5 TB drive?
I tried it with mdadm, but as it turns out, it's impossible to crate RAID 0 without loosing all the data on sda1 disc.Also, it would be very cool if I could find a solution that would enable me to one day add a new drive to further expend my storage.I'm aware that I could mount my new disk to, let's say /opt/abram/Divx, or /opt/abram/mp3, but that's not the solution I'm looking for.
View 5 Replies
View Related
May 17, 2011
I am setting up a Raid5 and torture testing it. I added two eSata ports to my machine. When a drive is installed in that eSata port and the machine then booted up the device name (e.g. /dev/sdc) is inserted in the middle of my Raid devices. And that is just one example of how the device names can change.I did a search on 'static device names' but I saw nothing directly related to Raid. What I did see were suggestions to create udev rules based on UUID. But that was for single disks, not Raid, where each drive/partition in the raid array appears to have the same UUID.I'm surprised this does not come up in the various Raid howtos because it is impossible to keep a Raid array intact without solving this problem unless the machine is never touched thereafter.
View 1 Replies
View Related
Mar 16, 2011
Ubuntu was a good choice for free server O/S. I am currently downloading it. My ISP wants to bind my static IP to a MAC address of the device that will be making my connection for me. Should my server be behind my router or in front of it? I kinda wanted it to be the access point and be able to monitor the usage from all the terminals in my house. We have 4 other PC's, a laptop and a PS3. My server is a Acer Altos G530 with 3.2 Xeon Processor, 4 gb of ECC DDR,
View 7 Replies
View Related
Jun 3, 2011
I have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive
View 6 Replies
View Related
Oct 11, 2010
My os is debian 5.0, netcard is RTL8168D/8111D. I can't use the Static ip, if I setup static ip, output "not found network device", but the network driver have loaded and if I use DHCP mode everything is ok. do you understand my english? What my next steps should be?
View 7 Replies
View Related
Jun 20, 2011
My servers (10.10) motherboard has failed so to access my data I've taken the hard drive out and tried to connect to it via my ubuntu desktop (10.10). I've tried it in a hard drive caddy and installed in my pc, but could only see a 255Mb Filesystem with a few folders and files on it. how to mount the portion of the disk that I can't see? Ie. the part with all of the data on it.
View 7 Replies
View Related