Can I resize "/" partition?
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: Can I resize "/" partition?
AHHH, possible cause is that you must reload partition table:
partprobe /dev/sdb
partprobe /dev/sdb
Re: Can I resize "/" partition?
Good.mashiro2004 wrote: ↑2019/01/07 12:31:26try this way:hack3rcon wrote: ↑2019/01/07 12:27:00I umounted partitions.mashiro2004 wrote: ↑2019/01/07 12:18:54
Have you unmounted sdb1? if not unmount it ad re-launch commands
parted
select /dev/sdb
resizepart
1
I can define how much size I need to add. Thank you.
Can I merge them without losing any data on both partitions?
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: Can I resize "/" partition?
Now you have only one partition.... sdb1, sdb2 is deleted.... Yes you don't loose data but i recommend you to make a backup....hack3rcon wrote: ↑2019/01/07 12:53:06Good.
I can define how much size I need to add. Thank you.
Can I merge them without losing any data on both partitions?
Re: Can I resize "/" partition?
When I deleted a partition, I never lose data? I mean is data on "sdb1".mashiro2004 wrote: ↑2019/01/07 13:10:21Now you have only one partition.... sdb1, sdb2 is deleted.... Yes you don't loose data but i recommend you to make a backup....
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: Can I resize "/" partition?
No if you delete sdb2 and first you copy data on another location you data is save. You don't loose data on extend partition, but a backup of data is always recommendedhack3rcon wrote: ↑2019/01/08 06:26:39When I deleted a partition, I never lose data? I mean is data on "sdb1".mashiro2004 wrote: ↑2019/01/07 13:10:21Now you have only one partition.... sdb1, sdb2 is deleted.... Yes you don't loose data but i recommend you to make a backup....
Re: Can I resize "/" partition?
Sorry, I mean was "sdb2". When I deleted a partition then data not lost!mashiro2004 wrote: ↑2019/01/08 10:40:50No if you delete sdb2 and first you copy data on another location you data is save. You don't loose data on extend partition, but a backup of data is always recommendedhack3rcon wrote: ↑2019/01/08 06:26:39When I deleted a partition, I never lose data? I mean is data on "sdb1".mashiro2004 wrote: ↑2019/01/07 13:10:21
Now you have only one partition.... sdb1, sdb2 is deleted.... Yes you don't loose data but i recommend you to make a backup....
Re: Can I resize "/" partition?
The only reason you didn't lose data when you deleted /dev/sdb2 was because you previously copied the data off it to the other filesystem.
You did copy the data first, right?
You did copy the data first, right?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Can I resize "/" partition?
If my system just have 60GB HDD (VM) then how can I increase the size of "/" partition?
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: Can I resize "/" partition?
I guess when CentOS did partitioning automatically then it create LVM? I can add Virtual HDD to my VM but I want to know can I add new HDD space to "/"!mashiro2004 wrote: ↑2019/01/08 11:48:04The response is depending.
You can add more disk space to vm?
do you use LVM Volumes?
You can add phisical Hard Disk?
How is the actual configuration?
Bye