A
A
Athanasius Sidorov2021-01-08 23:22:43
linux
Athanasius Sidorov, 2021-01-08 23:22:43

How to change the file system on an external drive?

Hello everybody! There is a hard disk with information recorded on it. The size of the disk is 2 TB, 303 GB is occupied, the XFS file system. You need to change the file system to EXT4 without formatting and so that the data does not disappear.
Is it possible to do this?

Answer the question

In order to leave comments, you need to log in

12 answer(s)
A
Adamos, 2021-01-08
@SidoroV11

Launch Gparted.
You reduce the partition to 1 TB (there is free space, it should work).
You create a second partition on the freed space, format it to any file system and copy the data to it.
You format the first section in EXT4.
You transfer data to it.
Delete the second section.
You increase the first to 2 TB.
Theoretically, a fakup can happen at every step, and this algorithm, as it can, reduces the chance of data loss in such problems.

D
Dmitry, 2021-01-08
@Tabletko

Replacing the file system without formatting will not work.

P
Puma Thailand, 2021-01-10
@opium

Taking into account that such actions have the risk of deleting all data without the possibility of recovery, in any case, you need to have a backup, well, such tricks will not work with xfs

O
Oleg, 2017-04-03
@php-noob

I was sometimes disappointed with the toolkit

Not satisfied with the technology stack used?
The presence of a competent mentor is very important for a novice specialist. Gives a significant increase in professional development at the start.
If they are more interesting to you than those with whom you have to work on duty, then this is a clear signal
No comments
You have enough reasons to leave this place.

P
Puma Thailand, 2017-04-04
@opium

Well, what a stupid question, change jobs, I changed 6 of them in the first two years, why are you sitting there for a year, I don’t understand at all.

D
devalone, 2017-04-03
@devalone

Well change jobs

M
maxaus, 2017-04-04
@maxaus

"a fairly large organization" - which is not always good) I don’t know what city you have, but in general I would probably advise you to look at some relatively large outsourcing company for the next 2-3 years - up to a middle manager of Gazprom you won’t grow up there, but you will work on a bunch of projects with a bunch of different technologies. Sometimes it's just interesting, sometimes it's bullshit. And then get out of this galley and with the acquired baggage of knowledge go to a normal distance.

P
PavelScron, 2017-04-04
@PavelScron

Go freelancing. Learn English and try English exchanges upwork, freelancer.

D
Dmitry Makarov, 2017-04-04
@DmitryITWorksMakarov

In my opinion, the situation is quite typical. That's life. No one will lead you by the hand through the intricacies of certain technologies. Schools/institutions are over.
Of course, there are purely software companies in which there are many programmers, between whom the tasks are parallel, a conveyor of experience has been established: a junior comes, he is attached to an experienced senior friend, and an evangelist-architect with a spiritual look who knows what to do and how not to.
But the company does not have such a goal - to train 15 programmers a year. The company must make money.
If the office is not purely software or just small, then it makes sense to keep two or more specialists in the same direction? A person is hired to equip and maintain one of the sides of the project. At the same time, he may almost never overlap in the technology stack with other project participants. Usually workers are required to work to work. Nobody needs programs by themselves. We need to solve some problems for adequate money. It can be a program, a third-party service, a hired specialist or something else....
It seems to me that the first thing you need to decide for yourself in this situation is whether you have prospects in this company? Imagine: now you have become a cool specialist, now you have a deeper understanding of what you are doing and have mastered neighboring areas of knowledge to the heap. Is there a place for you in this company for a decent reward? And then there are different cases. For example, it happens that the company has a backbone of 6..10 specialists that has not changed for the last 15 years and a student turnover. Or it happens that the company is thoroughly permeated with blasphemy: you work for 5 years, and you are put in charge of the son of someone up there, who has just graduated from the institute. Or simply there are no large salaries and incomes in the company and there will not be.
And if you don't like the tools - choose for yourself. It is clear that there are free tools, there are paid ones, and there are heavily paid ones. You need to find your instrument. There are also crooked tools, but some can be straightened out... well, or bent under you....
Automate your routine: testing, deployment, working with versions. Perhaps your configurations can also be automated.
And "google, study, stuff bumps" - it's very good! And also read smart books. And also to study someone else's code: good and bad.
About the salary. There is an opinion that the more often you change jobs, the faster the salary grows. Quite controversial, in my opinion, the statement. But, perhaps, it sometimes works depending on the person. Again, we say that professional growth, about interest in work, about comfort at work, and if there is enough money ... for now, then it's probably worth staying ... for now. But often life dictates its own requirements: at some point, the issue of salary will become a priority and it will be a completely different story.

D
Denis Fedorets, 2017-04-04
@fedorez

the root of the problem is here:
no pain no gain

M
MAXH0, 2017-04-08
@MAXH0

And if, >> In general, the work is not difficult, it’s not particularly annoying and I can’t say that it’s difficult for me to work << then why not start sawing your project ... And take for it the stack of technologies that you are going to earn in the future ? If the work does not eat the brain dry, then the night coding after work is IMHO the very thing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question