Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running using Ubuntu 10.04 LTS-the Lucid Lynx (Server Edition).
I have connected 2 hard disks. One is 500gb and another 250gb one.
We are using this system as server and have got lot of data on that which we cant afford to lose.
The problem is that /dev/sda on which the operating system relays
root@FileServer:~# fdisk -l /dev/sda
Disk /dev/sda: 1000 GB, 1000202273280 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 60789 488287611 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2 60789 121602 488480422 5 Extended
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda5 60789 120135 476696745 83 Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda6 120135 121602 11783677 82 Linux swap
Warning: Partition 6 does not end on cylinder boundary.
root@FileServer:~# fdisk -l /dev/sdb
Disk /dev/sdb: 250 GB, 250056737280 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 32 257008 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sdb2 32 30402 243947025 5 Extended
Warning: Partition 2 does not end on cylinder boundary.
/dev/sdb5 32 30402 243947025 8e Linux LVM
Warning: Partition 5 does not end on cylinder boundary.
I dont know why it is showing 500gb disk as 1000gb in fdisk -l and 500gb in the GUI. And one more disk of 250gb is shown as 250mb filesystem i GUI. Upon opening the 250mb filesystem only the files of /boot directory is found.
What can be done?? How will i get back my data on 250gb disk (/dev/sdb)
Please help.
Disk /dev/sda: 30401 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 * 2048 499711 497664 83 Linux
/dev/sda2 501758 488396799 487895042 5 Extended
/dev/sda3 0 - 0 0 Empty
/dev/sda4 0 - 0 0 Empty
/dev/sda5 501760 488396799 487895040 8e Linux LVM
@deep27ak : Yes, But this is after removing my 500gb disk and booting into 250gb disk.
I think in this 250mb is /boot and remaining is LVM partition.
/dev/ubuntu:
root swap_1
df -h says 175gb is used and 35gb available. But i dont find any data in that /root (If i chck for properties it is showing 128TB )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.