LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-25-2014, 08:18 PM   #1
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: Antix 16 and PCLinuxOS Mate
Posts: 303

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
How do I rename my Seagate external hard drive, please?


While getting rid of files I somehow changed my /dev/sdb Seagate external hard drive to /dev/sdg.
How do I get it back to being /dev/sdb again? Thanks!!
 
Old 09-25-2014, 08:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
If you are using the device as plug-and-play with a dynamically assigned mountpoint, it is possible for the drive designation to change depending on what other devices are present and the order in which they are detected.

The best way to make sure it is always mounted the same way is to identify it in /etc/fstab by the UUID. It will no longer be /dev/sdb; instead it will be UUID=[some long number], but you can make sure it always mounts the the same mountpoint.

This article gives a very nice explanation of how to do that; it's the one that I used the first time I tried using UUIDs in my /etc/fstab.

http://www.cyberciti.biz/faq/linux-f...-update-fstab/
 
Old 09-27-2014, 07:15 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i've been wondering this myself many times (i had it rather with partitions: sda1, from there straight to sda7 and so on...).
once i bothered to dig into it, but it's almost impossible to change it.
something very close to the base system is assigning these in a non-configurable way (i know this is technically unprecise at best).

frankbell's advice is good, i'm not contradicting it.
 
Old 09-28-2014, 07:27 AM   #4
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
You have to re-boot the system. Every-time you plug it in it will get another name.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Reading Data from Seagate hard drive extracted from Seagate Central acct_nael Linux - Newbie 18 09-20-2018 08:20 PM
Journal commit I/O error for Seagate Expansion external USB hard drive jessetaylor84 Linux - Hardware 16 09-16-2014 10:47 AM
SEAGATE Back up Plus STCA3000200 External Hard Drive. Has anyone used this drive? 3sheds Linux - Hardware 1 11-23-2012 11:47 AM
Using Seagate FreeAgent external hard drives samwise17 Slackware 0 06-29-2008 07:28 PM
device descriptor read/8, error -110 seagate external hard drive genex Linux - Hardware 1 09-08-2007 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration