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 don't see anything useful there. If there were a recognizable filesystem inside that LVM2 container, testdisk should have found it. I don't see any alternative to seeing whether professional data recovery can reconstruct the filesystem. Sifting through the no doubt million or more files, fragments, and junk that photorec recovered from those 14+ Terabytes just isn't humanly feasible. I'm afraid I have nothing else to offer. Sorry.
Just out of curiosity, was sda really a single 16TB disk, or was it some sort of array?
I specifically asked you if you wanted to extend your volume groups. I would extend centos-home to include both. You can copy data between them if anything needs to be saved. pagla volume group was a previous CentOS installation is there anything worth saving?
I hope you have a suitable backup device of sufficient capacity to save user data.
Here are a couple of howtos on extending a volume group. As a side comment Centos 7 defaults to xfs which is easy to enlarge but does not have any native tools to shrink. In addition with LVM if you lose one disk you could lose everything. There is LVM raid but I have not played with it yet. You do need a backup plan.
Since there is no need to keep pagla-root or pagla-swap I might start over.
maythoi,
Your question is vague. I assume you mean sda and without knowing what you are trying to accomplish like installing a linux distribution we can not provide help. You can create a new thread or edit the post and we can move it to an appropriate forum.
I want all my users will be able to use volume group centos but, I want to allow few users to use '/dev/sda2' and some other users '/dev/sdc2'. Is it possible to do this? How can I do this?
Thank you very much. I have mounted this two disk in different folder, Created usergroups, gave them read and write permission in respective folders. Is it ok?
Code:
[root@bioworkstation zillur]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 50G 7.0G 44G 14% /
devtmpfs 87G 0 87G 0% /dev
tmpfs 87G 152K 87G 1% /dev/shm
tmpfs 87G 9.6M 87G 1% /run
tmpfs 87G 0 87G 0% /sys/fs/cgroup
/dev/mapper/centos-home 58G 887M 57G 2% /home
/dev/sdb1 497M 215M 283M 44% /boot
tmpfs 18G 12K 18G 1% /run/user/1000
/dev/sdc1 494M 26M 469M 6% /run/media/zillur/3d20300c-4bda-4c44-8543-3a6a93451377
/dev/sdc2 11T 33M 11T 1% /mordor
/dev/sda 15T 33M 15T 1% /kodom
[root@bioworkstation zillur]# lvs
WARNING: Device for PV n9ykF8-3RTl-0aa2-7w2m-DU1A-ur9h-0tvFdj not found or rejected by a filter.
WARNING: Device for PV 1L0CTN-Vwds-V6OJ-aZh9-4W7y-dYLX-p3Tid1 not found or rejected by a filter.
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- 57.24g
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- 4.00g
[root@bioworkstation zillur]# pvs
WARNING: Device for PV n9ykF8-3RTl-0aa2-7w2m-DU1A-ur9h-0tvFdj not found or rejected by a filter.
WARNING: Device for PV n9ykF8-3RTl-0aa2-7w2m-DU1A-ur9h-0tvFdj not found or rejected by a filter.
WARNING: Device for PV 1L0CTN-Vwds-V6OJ-aZh9-4W7y-dYLX-p3Tid1 not found or rejected by a filter.
PV VG Fmt Attr PSize PFree
/dev/sdb2 centos lvm2 a-- 111.30g 60.00m
unknown device centos lvm2 a-m 14.55t 14.55t
unknown device centos lvm2 a-m 10.92t 10.92t
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.