Hi all,
I needed some help and clarification in what I did and what I'm trying to undo.
I added a 2nd HDD to Amahi.
I followed the steps from this link
http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA
I used the directions from section 6.1 but I should have probably used the directions from section 6.3.
I basically wanted to take advantage of Greyhole storage pool. So I will be adding additonal HDD in the near future.
I have created the storage pool already but the names of the drive moutns are the same. So I'm unable to distinguish between drive2 and drive3.
Please note: I have copied 1 TB of data onto the drives already.
Can I undo what I did without looseing the data?
So I basically want to undo the incorrect process I mounted the 2nd HDD and use section 6.3 as opposed to 6.1.
I'm a newbie so please tell me step by step in undoing what I have done
How to safely undo the addition of an additional HDD
Re: How to safely undo the addition of an additional HDD
It's not a very noob-friendly thing to undo.
How big are the drives? Do you have any other spare drives?
How big are the drives? Do you have any other spare drives?
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch
Re: How to safely undo the addition of an additional HDD
I have 2 X 2TB drives.It's not a very noob-friendly thing to undo.
How big are the drives? Do you have any other spare drives?
and I have a 1TB drive hanging around.
I eventually will end up having 4 X 2TB drives as storage and the 650 GB as the install of AMAHI on it.
this is my fstab file currently.
Code: Select all
# /etc/fstab
# Created by anaconda on Thu Apr 26 21:31:00 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_shaolin00amahi-lv_root / ext4 defaults 1 1
UUID=12a1d04c-5c26-44e2-b67e-31f9eb1b7550 /boot ext4 defaults 1 2
/dev/mapper/vg_shaolin00amahi-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_shaolin00amahi-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=68d721af-14d6-4c30-98fc-6857bee90e99 /var/hda/files ext4 defaults 1 2
UUID=d2f12c43-656f-407a-9bef-eed18773c4d5 /var/hda/files ext4 defaults 1 2
Re: How to safely undo the addition of an additional HDD
The problem you are experiencing is because you mounted both drives to the same location. That is not permitted.
Recommend you do the following as root user:
There should be two directories in /var/hda/files/drives labeled as drive1 and drive 2. If they do not exist, create them by doing:
Edit your /etc/fstab and change the first /var/hda/files to /var/hda/files/drives/drive1 and the second one /var/hda/files/drives/drive2.
Then do:
If all goes well, you won't have any errors and the drives will be properly mounted. Use the dashboard to add them to the pool.
Hope that helps.
Recommend you do the following as root user:
Code: Select all
umount -a /var/hda/files
Code: Select all
mkdir /var/hda/files/drives/drive1
mkdir /var/hda/files/drives/drive2
Then do:
Code: Select all
mount -a
Hope that helps.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: How to safely undo the addition of an additional HDD
Thanks for the feedback. I will try this on the weekend and see how it goes.
Will I end up loosing my stuff that was saved on the drive?
Will I end up loosing my stuff that was saved on the drive?
Re: How to safely undo the addition of an additional HDD
As long as you do not format the drives, you should not lose anything.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: How to safely undo the addition of an additional HDD
Thank you so much bigfoot65,
I ran into some confusion in regards to some TV shows I downloaded.
I had them in one location before I did the remounting of the drives and used greyhole to share the pool.
It seems now that in Windows Vista I can mount the shares but they are empty.
I looked on Fedora and I see 2 different locations of "TVShow" but I would like to be able to see the shows that I downloaded.
Do I just move the shows to the new samba share folder locations?
I took screen shots as this might be easier to understand. They say a picture is worth a 1000 words.
Could I just move the files in the TvShows folder that I downloaded already into the new share which is empty?
Please advise
I ran into some confusion in regards to some TV shows I downloaded.
I had them in one location before I did the remounting of the drives and used greyhole to share the pool.
It seems now that in Windows Vista I can mount the shares but they are empty.
I looked on Fedora and I see 2 different locations of "TVShow" but I would like to be able to see the shows that I downloaded.
Do I just move the shows to the new samba share folder locations?
I took screen shots as this might be easier to understand. They say a picture is worth a 1000 words.
Could I just move the files in the TvShows folder that I downloaded already into the new share which is empty?
Please advise
- Attachments
-
- This is what I see in Windows Share
- Drive 1 for Pool.png (50.16 KiB) Viewed 4578 times
-
- These are the files of the tv shows I'm unable to see in my new share
- Files I wantto access.png (75.2 KiB) Viewed 4578 times
-
- Location of my New Share for "TVShow"
- Screenshot.png (91.69 KiB) Viewed 4578 times
Re: How to safely undo the addition of an additional HDD
maybe not a great idea to post photos online in a public forum of TV you may or may not have acquired with or without proper consent.
//just sayin'
//just sayin'
Re: How to safely undo the addition of an additional HDD
I would say as long as you install the mount shares locally script for Greyhole, you can move files with no problem.
http://wiki.amahi.org/index.php/Mount_Shares_Locally
http://wiki.amahi.org/index.php/Mount_Shares_Locally
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: How to safely undo the addition of an additional HDD
Hi,
have you solved your problem? Do you need further advice?
Regards
Juergen
have you solved your problem? Do you need further advice?
Regards
Juergen
Who is online
Users browsing this forum: No registered users and 12 guests