Hello,
I can’t find this exact answer.
I have a 500 GB sata drive with a mount point of a sub directory (/home/landis/MyDocs/Graphics/Photographs/PhotoBooks/) … (the whole 500 GB drive IS the sub dir ‘PhotoBooks’)
I want to ‘Temporarily’ mount a new 1 or 2 TB drive, copy the content of the …/PhotoBooks/ drive to the new, temp drive shut down, remove the 500 GB drive mounted at …/PhotoBooks/ and then start up and mount the ‘temp’ drive as …/Graphics/Photographs/PhotoBooks
Will this Work?
or, will the data from the ‘temp’ 1 or 2 TB drive be lost when mounted as the ‘New’ name ‘PhotoBooks’?
Thank you in advance,
Landis.
p.s. I have, on this specific system, opneSuSE 11.2, KDE 4.3.5 all updates (to point where discontinued)
Also, I do NOT want to ‘upgrade’ this system to 11.4 (I have other systems, 11.3 and 11.4, but this is the system I use the most and I like it at 11.2 )
I found this. It sounds like I would do the opposite of what I thought. Move directory to own mount point ]
Sounds like I’d ‘Temporarily’ mount the …/PhotoBooks/ hdd (sub directory) as something else, then mount the New HDD as the ‘Permanent’ name of PhotoBooks then copy to it, in it’s permanent mount point.
This is what scares me… When I ‘temporarily’ mount the current ‘PhotoBooks’ drive with a temp name, will that trash, delete my data or Re-Write the file table (track zero)???
landis wrote:
> I found this. It sounds like I would do the opposite of what I thought.
>
> ‘Move directory to own mount point’ (http://tinyurl.com/3o5ae7o) ]
> Sounds like I’d ‘Temporarily’ mount the …/PhotoBooks/ hdd (sub
> directory) as something else, then mount the New HDD as the ‘Permanent’
> name of PhotoBooks then copy to it, in it’s permanent mount point.
>
> This is what scares me… When I ‘temporarily’ mount the current
> ‘PhotoBooks’ drive with a temp name, will that trash, delete my data or
> Re-Write the file table (track zero)???
Your first plan was fine. Mounting a disk won’t trash anything. There
are two potentially dangerous times:
(1) when you partition your new disk and create a filesystem. That
overwrites info on the disk. So make sure you do it to the correct disk!
But you do that when it isn’t mounted
(2) when you copy data from your existing filesystem to the new
filesystem. It doesn’t really matter where the old and new filesystem
are mounted. But to my mind it’s more intuitive if the existing one is
in its usual place and the new one is somewhere special (like /mnt). If
you’re really paranoid, you could try copying one file first to make
sure you have the addresses the right way round.
Mounting doesn’t write anything to the disk (at least, nothing that
matters).
So, if I mount the ‘new’ hdd to temp location, i.e., /mnt/ then copy existing files with directory structure to it. Shut down, remove old hdd (cureent ‘PhotoBooks’) and monut ‘new’ drive to original ‘PhotoBook’ mount point in the same Parent Directory (/home/landis/Graphics/Photographs/), All my symlinks (shortcuts) should work as they do now? yes?
Thank you
Landis.
p.s., Huge fan of Novell for Years : )
Knurpht, I did not see the other post before I posted my question.
I did Not start that post and was only adding my situation to the thread (the conversation).
… SORRY…
If you look at the ‘other post’, again, that I did not start, I thank you greatly. You answered my question well…
I don’t remember if, when I mounted the existing 500 GB hdd, if the ‘root’ of the drive (the drive itself) is ‘PhotoBooks’ or if there is a single folder (directory) in the root of the drive named ‘PhotoBooks’…
Is there a way to see this.
To see the drive as a drive and not a ‘sub-folder’ of ‘Graphics/Photographs’, so I can see if photobooks is actually a folder or does the drive contain all the ‘sub-folders’ of ‘PhotoBooks’???
You can also use the SABRENT USB2.0 to SATA/IDE doogle to quickly and easily attach 2.5" ide, 3.5" ide, CDRW/DVDRW and any type of SATA drive to your system without the need to swap out drives. Works great in openSUSE 11.2. The adapter comes complete with separate power unit and the unit with sata, 2.5ide, 3.5ide, and usb connection. Special software set-up needed for windows 7 but XP, MAC, Linux, and Unix work straight out of the box.
techwiz03 wrote:
> You can also use the SABRENT USB2.0 to SATA/IDE doogle to quickly and
> easily attach 2.5" ide, 3.5" ide, CDRW/DVDRW and any type of SATA drive
> to your system without the need to swap out drives. Works great in
> openSUSE 11.2. The adapter comes complete with separate power unit and
> the unit with sata, 2.5ide, 3.5ide, and usb connection. Special software
> set-up needed for windows 7 but XP, MAC, Linux, and Unix work straight
> out of the box.
What does this have to do with the OP’s question?
It looks like spam to me, just to post a [irrelevant] product name.
On 2011-10-12 12:41, Dave Howorth wrote:
> techwiz03 wrote:
>> You can also use the SABRENT USB2.0 to SATA/IDE doogle to quickly and
>> easily attach 2.5" ide, 3.5" ide, CDRW/DVDRW and any type of SATA drive
>> to your system without the need to swap out drives. Works great in
>> openSUSE 11.2. The adapter comes complete with separate power unit and
>> the unit with sata, 2.5ide, 3.5ide, and usb connection. Special software
>> set-up needed for windows 7 but XP, MAC, Linux, and Unix work straight
>> out of the box.
>
> What does this have to do with the OP’s question?
>
> It looks like spam to me, just to post a [irrelevant] product name.
I don’t think it is spam. The idea is a good one, but perhaps it would have
been better to omit the brand name.
Using that type of product can save time for the kind of operation the OP
is doing. I do it myself, with similar equipment.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Carlos E. R. wrote:
> I don’t think it is spam. The idea is a good one, but perhaps it would have
> been better to omit the brand name.
>
> Using that type of product can save time for the kind of operation the OP
> is doing. I do it myself, with similar equipment.
Eh? The OP is trying to replace an old SATA drive with a new bigger one,
AIUI. And his system presumably has enough SATA ports already, since he
hasn’t said that is a problem. So why would he want to buy and add some
other piece of new hardware into his system? And how would it save time?
On 2011-10-12 15:41, Dave Howorth wrote:
> Carlos E. R. wrote:
> Eh? The OP is trying to replace an old SATA drive with a new bigger one,
> AIUI. And his system presumably has enough SATA ports already, since he
> hasn’t said that is a problem. So why would he want to buy and add some
> other piece of new hardware into his system? And how would it save time?
He is pluging and unpluging devices.
He doesn’t “need” to buy that if he doesn’t want to. It is just an
alternative. If you do that kind of thing often, then it is worth it.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Grow up! It is not spam it is an alternative. I have tested 21 similar devices as a means of extracting hdd info that clients have lost or otherwise been unable for a variety of reasons to recover. The device I recommended here was the only one that worked totally hassle free to connect mount extract and disconnect on the fly.
We are in the hardware section, where FYI smart Linux people come to find insight into what works or doesn’t work and under what test conditions it will work. The OP was attempting to swap out his drive for another without damaging his data. At $23 US this seemed like a good alternative since he could keep his existing hardware safely in place while still affording the OP a means to access his info on the alternate drive.
Some may not like hearing about devices that work, but others may find it a solution. Let’s hope you never are faced with a need and people trim their responses of what is possible as you would have me do.
techwiz03 wrote:
> We are in the hardware section, where FYI smart Linux people come to
> find insight into what works or doesn’t work and under what test
> conditions it will work. The OP was attempting to swap out his drive for
> another without damaging his data. At $23 US this seemed like a good
> alternative since he could keep his existing hardware safely in place
> while still affording the OP a means to access his info on the alternate
> drive.
You really didn’t bother to read his post, did you?
He isn’t short of the hardware necessary to connect his drives, he’s
simply nervous about possible data loss whilst mounting disks in
different places and then changing their mount points.
It wasn’t a hardware question at all, it was a
looking-for-reassurance-about-software question. So your response was
completely off-topic. That’s what I object to.
On 2011-10-13 12:07, Dave Howorth wrote:
> techwiz03 wrote:
> It wasn’t a hardware question at all, it was a
> looking-for-reassurance-about-software question. So your response was
> completely off-topic. That’s what I object to.
I don’t think so. His procedure involves shuting down the machine,
something I don’t do, the new drive is outside. Hotplug.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Nobody is suggesting the OP is short of hardware here.
Anytime you shut down open the case and start playing around with swapping hardware as a temporary measure you increase the risk of causing your own data or OS demise.
Count the number of threads people have made over the years of doing upgrades, new installs (while retaining critical data), or simply trying to make more space available in their current configuration, and it becomes crystal clear that mistakes, loss, or all out damage can occur. Albeit, nothing is a substitute for a good back-up before making changes.
I did note that when you were trying to reassure the OP about data security, you gave the OP just enough info to get the OP into trouble IMEO.
There was no mention of the possibility that links could be affected if residing in the removed drive, or external links point at or into the removed drives space. There were no cautions about inadvertent changes to the etc/fstab which the OP could address before making a change so that if they happen the OP has a way to recover.
“It wasn’t about hardware … -about-software question … was completely off topic”. Not so! He is dealing with Linux (to Linux everything is viewed as a device) and a device is hardware. He is dealing with mount points and therefore structure, so in reality the OP is dealing with how the system interprets it’s physical hardware environment which the OP is anticipating changing. The data or contents of the hardware the OP is looking to remove vs the data or contents of the hardware the OP is trying to introduce may be accessed by numerous software programs, there is no mention that the data or contents is in fact in whole or in part software. To Summarize, the OP is concerned about making hardware changes, mount point changes, and the effect it may have on the DATA contained on the drives as they are being worked with. Software does not really come into the picture.