Showing posts with label drive. Show all posts
Showing posts with label drive. Show all posts

Thursday, August 24, 2017

Ubuntu 12 04 Remove Physical Drive From Volume Group

Ubuntu 12 04 Remove Physical Drive From Volume Group


In this tutorial I am going to show you how to remove a drive from your logical volume group without losing any files by first moving all of its contents onto the other drives. This means that you do not have to take a full backup to another set of drives. I did this today because I wanted to replace a laptop drive that I had temporarily added as emergency "extension". Using the drive had noticeably decreased the performance of my volume group when writing new files and reading from those files later on.

    The first step is to look at your physical volumes in your volume group. You should have already added your new drive to the volume group if you are performing a replacement. This will also work if you have enough storage remaining on the already existing drives.
    sudo pvs -o+pv_used

    Hopefully that shows you that you have enough space on your other drives. To spread the files from the drive you want to remove, just enter the following command:
    sudo pvmove /dev/sd[x]

    This takes a long time. So at this point it is probably best to go away and watch a movie.
    When that has completed, you may want to run the following command again to see how everything is spread.
    sudo pvs -o+pv_used

    You can now remove the drive from the volume group with the following command:
    sudo vgreduce [volume group name] /dev/sd[x]
    For example:
    sudo vgreduce vg_main /dev/sdb
    Thats it! You can now physically remove the drive from your machine. If you run step 1 again, you will see that it no longer appears in the volume group as shown below:

References

  • Removing a Disk from a Logical Volume

download file now

Read more »

Saturday, August 12, 2017

Ubuntu synchronise Google calendar and contacts and view edit google drive files with GNOME applications

Ubuntu synchronise Google calendar and contacts and view edit google drive files with GNOME applications


If you are using Ubuntu 16.04 then you can easily integrate Google apps experiences into your Ubuntu Desktop by using GNOME desktop applications. Which means you can easily view and edit your Google account calendars and contacts books right from your Ubuntu desktop without needing to open-up a web browser and sign-in to google account every-time you have to amend something.

Now fire up a terminal and put the following command into to install GNOME control center, Calendar, and Contact applications and GNOME online accounts package:


sudo apt-get install gnome-control-center gnome-contacts gnome-calendar gnome-online-accounts


If everything is installed properly, you should be able to find corresponding applications icons into Dash applications tab. Now, in the Dash search for Settings icon and click to launch All Settings window like shown below:





Now goto Online Accounts and click on the plus sign which will open Add Account dialog. Select Google and sign into your google account. Finally, click Allow button to give GNOME applications access to your Google services. Now you should see which Google services will be synchronised with the GNOME applications like shown below:





From here you can easily toggle the services you do not like to be synchronised with the Desktop applications. Turn on Calender, Contacts and Files which will in turn let you access Google Calender, Contacts and Drive from GNOME Calender, Contacts and File applications.


Accessing Google Calendar:


Search for Calendar icon in the Dash and open it. Click on the Manage your Calendar icon and select Calendar Settings from the popup menu. Now in the Calendar Settings dialog window click add button and select from web if your Google account calendars are not showing in the Calendars list like shown below:









Every time you change calendars you have to click Synchronize from the GNOME Calender application.


Accessing Google Contacts


Search for Contacts icon in the Dash and open it. From Change Address Book dialog window select your Google account, like shown below:





The application will automatically synchronise your contacts upon change.


Accessing Google Drive files:


When you open Nautilus file manager (GNOME Files), you should be able to see your Google account email with other storage drives like shown below:





With GNOME Files, you will be able to access Google Drive files just like any other local disk partitions. To reflect any changes to the Google Drive do not forget to Unmount from the GNOME Files application.

download file now

Read more »

Tuesday, August 8, 2017

Ubuntu12 10 installer does not detect Drive Partitions

Ubuntu12 10 installer does not detect Drive Partitions


Here is the solution for those whose Ubuntu installer does not recognize drive partitions.For that you need to have backup everything on your existing drive.This is the problem of partition table.This has happened because you have installed some programs,which dont understand gpt partition table, in windows.For that you need to clean install microsoft windows after going through the following steps. And then your ubuntu installer will definitely detect your drive partitions.

 1.You need to download "gparted iso" from here.
     After downloading the iso image you need to make up bootable usb using unetbootin or bootable cd using PowerISO software.

2.Boot through this live cd or usb and follow the figures shown below.

a) Select the first option "GParted Live (Default Settings)




 b)Select Ok


c) Hit enter if it asks about the language and which mode you prefer. Gparted itself selects by default.







d) Now you may get this warning. Select yes or no if you get this warning because in next few steps you would be creating new partition table.




e)This is one of the most important steps. Here you need to create new partition table. As shown below go to the device tab and select the "Create Partition Table".

f) You may get the warning as shown below.
WARNING: By this time you should have backed up all of your data because after selecting the new partition table and selecting the apply button will erase everything from your disk and create new partition table. If you have not backed up your data exit from this live cd and backup everything.

If you have backed up all your data and you are ready to clean install windows you can go ahead and please do select msdos partition table type and click on apply.This will erase all your disk data and now   you can exit from this live cd and can clean install windows.


g) Try to install windows without connecting to internet because while installing windows by connecting through internet,it may possible that again windows try to install any application that can corrupt your partition table. After you have installed windows you are ready to install ubuntu12.04 or ubuntu12.10 and now your ubuntu installer will be able to see the partitions.

download file now

Read more »

Wednesday, August 2, 2017

Trying to save data from 2GB USB Drive

Trying to save data from 2GB USB Drive


This is a follow up with this thread on Ubuntu Forums:


Part 1

1- From Terminal, I run: $ testdisk

2- Choose the create a new log file:





3- From the list, I choose /dev/sdb and then [Proceed]




4- I choose then [Intel]:




5- [Analyse]:




6- This is what I get after choosing [Analyse] and I choose [Quick Search]:




7- What I get and then I press [Enter]:




8- Nothing happens so I select [Deep Search]:




9- Still nothing so I press [Enter]:




10- Finally [Quit]:




Some helpful and nice people on the Ubuntu Forum suggest NOT to create any partition table at this stage because that might cause the loss of the data that if there is any. Hence, I didnt create any partition table nor any partition but as you can see, this is what is happening with me.


I thought to make life easier for everyone so that we be on the same page :)
This is what I see when I use testdisk so hope it is clear now.

Thank you for trying to help, I highly appreciate that :)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Part 2
 
$ sudo photorec




[Search]



[Other]
 






 


 Finally ...


It seems there are no files!
Hope this is the correct way ...

download file now

Read more »