Questions tagged [formatting]

58 questions
32
votes
3 answers

With what tool should I format a hard drive as UDF?

(This is a follow-up to "What is the partition id / filesystem type for UDF?") I know two ways to format a hard drive as UDF: Windows Vista or later: "format x: /fs:UDF" (don't use /q ! ) Linux: "mkudffs --media-type=hd --blocksize=512…
skolima
  • 1,253
  • 3
  • 16
  • 28
25
votes
6 answers

How do I set the date format to ISO globally in Linux?

I would like to globally set the Linux date format to ISO, which looks roughly like this: YYYY-MM-DD HH:MM:SS 2009-03-16 15:20:00 With varying levels of detail, such as omitting time, seconds, etc. I know that for some applications, you can…
Neil
  • 2,345
  • 8
  • 35
  • 44
6
votes
9 answers

How to find a not formatted hard disk on Linux

My server has two hard disks. One very limited of around 500 GB and another NOT FORMATTED of more than 1 TB. I need to find this second disk to format it (and eventually mount it to my Red Hat Linux 6 enterprise). The thing is that I cannot see this…
6
votes
1 answer

Is it possible to specify custom error log format in nginx?

I can specify custom log format for access log in nginx, but it won't work for error log. I wish I always saw time when error occur. Is it possible?
tjeden
  • 161
  • 1
  • 3
5
votes
4 answers

Preparing to sell a server

I purchased a server about 6 months ago and it's been a huge learning experience. I'm now going to sell it - I've sold the sites that I was hosting on it. I'd like to sell it with formatted hard drives... what's the best way to do that? Is there…
Ben
  • 3,630
  • 17
  • 62
  • 93
4
votes
4 answers

How to decipher Powershell syntax for text formatting?

I found a PowerShell script that I thought I could adapt to my purposes. It contains this line that formats the output: $largeSizefiles = get-ChildItem -path $filesLocation -include $Extension -recurse -ErrorAction "SilentlyContinue" | ? {…
tim11g
  • 425
  • 5
  • 9
  • 21
4
votes
0 answers

Can't stop and reformat /dev/md0

I want to reformat /dev/md0, which is a RAID0 array consisting of 4 disks (sd[bcde]). However, when I tried to run the command mke2fs, I received the following error message: /dev/md0 is apparently in use by the system; will not make a filesystem…
roymaztang
  • 51
  • 2
4
votes
6 answers

NTFS hard disk repair utility in linux

Is there a hard disk utility which can format(NTFS) &repair a HDD which has lots of bad sectors like Norton Disk Doctor from Linux ?
iceman
  • 195
  • 1
  • 4
  • 10
4
votes
1 answer

How to make PowerShell add a new line after executing a command?

Is it possible to somehow configure PowerShell to add a new line after executing a command? IronPython and other console programs which I use doesn't always finish it's output with a \n and because of that the PowerShell prompt will appear at the…
Meh
  • 363
  • 2
  • 7
  • 10
3
votes
2 answers

How to format few computer at the same time

I have over 100 computers that I need to format. Do you have an idea to complete the transaction as quickly as possible? (The best of them all at once). For information computer farm is a mix between windows 98, 2000 and XP. Regards,
chepseskaf
  • 143
  • 1
  • 6
3
votes
2 answers

Quick format vs full format

When formatting a drive as ntfs for a windows XP install, you have an option to choose between a "quick" format and complete format. What is the difference between the two (aside from how long it takes to complete)?
Joel Coel
  • 12,910
  • 13
  • 61
  • 99
2
votes
1 answer

How can I wipe a logical partition from a bootable usb?

I'm looking for a way to wipe just one partition from the drive. Currently I have a recovery partition which needs to stay as it is and a partition with windows 10 installed which needs to be wiped. I've looked in to DBAN, but it seems it can wipe…
fotu
  • 21
  • 1
2
votes
2 answers

Can I format a Veritas cluster shared volume from windows?

We have a Microsoft Failover Cluster with dynamic disks managed by Veritas Storage Foundation. Today the sysadmins added a new disk for SQL Server but the cluster size on the volume was wrong, so I issued a quick format to change it. The disk volume…
spaghettidba
  • 121
  • 4
2
votes
5 answers

Reinstalling Linux: how to avoid downtime?

My website runs on a dedicated Debian LAMP server . I would like to update the system (let's say I have a pretty old Debian version and I want to reinstall everything from scratch) What strategy can I use to not have my website down while I am…
dynamic
  • 730
  • 6
  • 17
  • 31
2
votes
3 answers

Getting correct linefeeds in emails generated from linux

I have a script that emails certain linux log entries to me, and I read the email in MS Outlook. The problem is that all the lines run together with no linefeeds between the lines. To address this I inserted sed "s/$/\n/" before the mail command,…
Brent
  • 22,219
  • 19
  • 68
  • 102
1
2 3 4