Comments (5)
That's three times nothing to add to the documentation and it's still not done (after 3 years). As a result, like @dncwarren , I deleted the old signature too. I have no choice to restore my backup to make sure I haven't lost anything...
from docs.
Why is this not specified in docs ?
from docs.
Hi,
Do you want to remove the signature? [Yes/[N]o: |
- Choose NO, since if you delete signature the new disk/partition will not be able to be written and is not advisable to have multiple signatures.
Follow this article:
https://docs.ovh.com/ca/en/vps/repartitioning-vps-after-upgrade/
I've just upgraded my OVH VPS successfully ( 1 disk from 40 GB to 80 GB with one partition /dev/sdb1 )
Bellow is full list of commands:
root@rescue-pro:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE . MOUNTPOINT
sda 8:0 0 2.5G 0 disk
└─sda1 8:1 0 2.5G 0 part /
sdb 8:16 0 80G 0 disk
└─sdb1 8:17 0 40G 0 part /mnt/sdb1
root@rescue-pro:~# umount /dev/sdb1
root@rescue-pro:~# e2fsck -yf /dev/sdb1
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
cloudimg-rootfs: 669535/2621440 files (0.3% non-contiguous), 6123138/10485464 blocks
root@rescue-pro:~# fdisk -u /dev/sdb
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sdb: 80 GiB, 85899345920 bytes, 167772160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0005bac1
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 83885759 83883712 40G 83 Linux
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-167772159, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-167772159, default 167772159):
Created a new partition 1 of type 'Linux' and of size 80 GiB.
Partition #1 contains a ext4 signature.
Do you want to remove the signature? [Y]es/[N]o:
Do you want to remove the signature? [Y]es/[N]o: n
Command (m for help): a
Selected partition 1
The bootable flag on partition 1 is enabled now.
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
root@rescue-pro:~# resize2fs /dev/sdb1
resize2fs 1.43.4 (31-Jan-2017)
Resizing the filesystem on /dev/sdb1 to 20971264 (4k) blocks.
The filesystem on /dev/sdb1 is now 20971264 (4k) blocks long.
root@rescue-pro:~# mount /dev/sdb1 /mnt
root@rescue-pro:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 780M 8.4M 772M 2% /run
/dev/sda1 2.4G 1.5G 743M 68% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 79G 23G 53G 31% /mnt
root@rescue-pro:~#
from docs.
It's work for me, when I fails before when a execute fdisk without -u parameter. Thanks
from docs.
Hello everyone,
I unfortunately deleted the ext4fs signature.
How can I solve the problem?
from docs.
Related Issues (20)
- Remove references to legacy product NAS in NASHA pages HOT 1
- Uniform NASHA product name HOT 1
- NASHA available storage capacity not relevant HOT 2
- Limitations rules on NASHA partition size HOT 1
- Clarify pre-requisites for "getting-source-ip-behind-loadbalancer" HOT 1
- No idea how to configure cname for s3 buckets HOT 2
- Public Cloud: how to restore instances into another region? Which DR to use? HOT 2
- Secure My VPS guide doesn't contain full instructions to disable password logins
- pgvector plan ? HOT 4
- Change root password dedicated HOT 1
- S3 HTTPS HOT 3
- Note that RISE servers are not compatible with vRack
- Node.js versions are outdated
- documentation for Terraform S3 Backend outdated HOT 3
- Hi, ovh team! Happy holidays It seems that now ovh public cloud supports ed25519 you might want to update the docs HOT 2
- SoftRAID + replacing first disk with boot partition
- How To Get A Single Instance Details
- Link to ovhAPI.sh in "Using a custom gateway on an OVHcloud Managed Kubernetes cluster"give a 404
- [rfc9460] Support `HTTPS` and `SVCB` dns record types HOT 1
- Ask about DISK FULL mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.