Adding internal SATA drive shifts mount points

Asked by Stuart Siegler

Installed Intrepid on a Dell PowerEdge t300, with 2 internal SATA drives, 1 configured (in fstab)

I configured the the second drive, adding it to fstab:
/dev/sdb1 /storage ext3 defaults 0 0
and mounted (mount -a) and could use it by referencing
/storage.

When I added a 3rd drive to the box, and fstab entry
/dev/sdc1/extra ext3 defaults 0 0

The previously mount point moved to /extra. The files "appeared" under /extra, and
the /storage fs was emtpy

A 4th drive did not change any mount positions.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Christophe Painchaud
Solved:
Last query:
Last reply:
Revision history for this message
Stuart Siegler (stuart-siegler) said :
#1

Is this normal behavior (or a reportable bug)?

Thanks,

Stuart

Revision history for this message
Best Christophe Painchaud (dash-ionblast) said :
#2

Hello,

you can use UUID instead dev names for devices.

So that if order is changing, it won't matter.

command 'ls -l /dev/disk/by-uuid' will tell you the UUID of your partitions

then you have to edit your fstab file and put something like

UUID=c5aafcd1-9dbe-4ed3-82bf-f3995d38b4e4 / ext3 defaults,errors=remount-ro 0 1

I hope I was clear ;)

Revision history for this message
Stuart Siegler (stuart-siegler) said :
#3

Thanks Christophe Painchaud, that solved my question.